diff options
author | 2013-01-09 14:55:01 +0000 | |
---|---|---|
committer | 2013-01-09 14:55:01 +0000 | |
commit | 6a78940f604f8d1b6881bfdc5ce01dab9efca58a (patch) | |
tree | 9bd66183bd07d195bfc11eee7f2bf69b26ad0df7 /net-misc/nx/files | |
parent | r1 for getting rid of install scripts for icons and desktop files (diff) | |
download | historical-6a78940f604f8d1b6881bfdc5ce01dab9efca58a.tar.gz historical-6a78940f604f8d1b6881bfdc5ce01dab9efca58a.tar.bz2 historical-6a78940f604f8d1b6881bfdc5ce01dab9efca58a.zip |
Finally found how to respect AR/RANLIB, fix some missing CC/CXX, bug #445794
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Manifest-Sign-Key: 0xC74525F2
Diffstat (limited to 'net-misc/nx/files')
-rw-r--r-- | net-misc/nx/files/nx-3.5.0.17-cflags_ar_ranlib.patch | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/net-misc/nx/files/nx-3.5.0.17-cflags_ar_ranlib.patch b/net-misc/nx/files/nx-3.5.0.17-cflags_ar_ranlib.patch new file mode 100644 index 000000000000..668a6bf4c310 --- /dev/null +++ b/net-misc/nx/files/nx-3.5.0.17-cflags_ar_ranlib.patch @@ -0,0 +1,100 @@ +diff -Naur nx-libs-3.5.0.17.orig/nxcomp/Makefile.in nx-libs-3.5.0.17/nxcomp/Makefile.in +--- nx-libs-3.5.0.17.orig/nxcomp/Makefile.in 2013-01-09 15:03:33.152952758 +0100 ++++ nx-libs-3.5.0.17/nxcomp/Makefile.in 2013-01-09 15:05:39.771898159 +0100 +@@ -243,8 +243,8 @@ + + $(LIBARCHIVE): $(CXXOBJ) $(COBJ) + rm -f $(LIBARCHIVE) +- ar clq $(LIBARCHIVE) $(CXXOBJ) $(COBJ) +- ranlib $(LIBARCHIVE) ++ $(AR) $(LIBARCHIVE) $(CXXOBJ) $(COBJ) ++ $(RANLIB) $(LIBARCHIVE) + + $(LIBCYGSHARED): $(LIBARCHIVE) + $(CC) -shared -o $(LIBCYGSHARED) \ +diff -Naur nx-libs-3.5.0.17.orig/nxcomp/configure.in nx-libs-3.5.0.17/nxcomp/configure.in +--- nx-libs-3.5.0.17.orig/nxcomp/configure.in 2013-01-09 15:03:33.151952758 +0100 ++++ nx-libs-3.5.0.17/nxcomp/configure.in 2013-01-09 15:04:03.312940892 +0100 +@@ -7,8 +7,7 @@ + + dnl Set our default compilation flags. + +-CXXFLAGS="$CXXFLAGS -O3 -fno-rtti -fno-exceptions" +-CFLAGS="$CFLAGS -O3" ++CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" + + dnl Reset default linking directives. + +diff -Naur nx-libs-3.5.0.17.orig/nxcompext/Makefile.in nx-libs-3.5.0.17/nxcompext/Makefile.in +--- nx-libs-3.5.0.17.orig/nxcompext/Makefile.in 2013-01-09 15:03:33.164952753 +0100 ++++ nx-libs-3.5.0.17/nxcompext/Makefile.in 2013-01-09 15:06:08.747879052 +0100 +@@ -125,8 +125,8 @@ + + $(LIBARCHIVE): $(CXXOBJ) $(COBJ) + rm -f $(LIBARCHIVE) +- ar clq $(LIBARCHIVE) $(CXXOBJ) $(COBJ) +- ranlib $(LIBARCHIVE) ++ $(AR) $(LIBARCHIVE) $(CXXOBJ) $(COBJ) ++ $(RANLIB) $(LIBARCHIVE) + + $(LIBCYGSHARED): $(LIBARCHIVE) + $(CC) -shared -o $(LIBCYGSHARED) \ +diff -Naur nx-libs-3.5.0.17.orig/nxcompext/configure.in nx-libs-3.5.0.17/nxcompext/configure.in +--- nx-libs-3.5.0.17.orig/nxcompext/configure.in 2013-01-09 15:03:33.164952753 +0100 ++++ nx-libs-3.5.0.17/nxcompext/configure.in 2013-01-09 15:04:16.247935801 +0100 +@@ -5,11 +5,6 @@ + AC_INIT(NXlib.h) + AC_PREREQ(2.13) + +-dnl Reset default compilation flags. +- +-CXXFLAGS="$CXXFLAGS -O3" +-CFLAGS="$CFLAGS -O3" +- + dnl Reset default linking directives. + + LIBSTATIC="" +diff -Naur nx-libs-3.5.0.17.orig/nxcompshad/Makefile.in nx-libs-3.5.0.17/nxcompshad/Makefile.in +--- nx-libs-3.5.0.17.orig/nxcompshad/Makefile.in 2013-01-09 15:03:33.163952754 +0100 ++++ nx-libs-3.5.0.17/nxcompshad/Makefile.in 2013-01-09 15:06:16.933873660 +0100 +@@ -158,8 +158,8 @@ + + $(LIBARCHIVE): $(CXXOBJ) $(COBJ) + rm -f $(LIBARCHIVE) +- ar clq $(LIBARCHIVE) $(CXXOBJ) $(COBJ) +- ranlib $(LIBARCHIVE) ++ $(AR) $(LIBARCHIVE) $(CXXOBJ) $(COBJ) ++ $(RANLIB) $(LIBARCHIVE) + + $(LIBDLL): $(LIBARCHIVE) + $(CC) -o $@ \ +diff -Naur nx-libs-3.5.0.17.orig/nxcompshad/configure.in nx-libs-3.5.0.17/nxcompshad/configure.in +--- nx-libs-3.5.0.17.orig/nxcompshad/configure.in 2013-01-09 15:03:33.163952754 +0100 ++++ nx-libs-3.5.0.17/nxcompshad/configure.in 2013-01-09 15:04:20.073934295 +0100 +@@ -5,11 +5,6 @@ + AC_INIT(Shadow.h) + AC_PREREQ(2.13) + +-dnl Reset default compilation flags. +- +-CXXFLAGS="$CXXFLAGS -O3" +-CPPFLAGS="$CPPFLAGS -O3" +- + dnl Reset default linking directives. + + LIBSTATIC="" +diff -Naur nx-libs-3.5.0.17.orig/nxproxy/configure.in nx-libs-3.5.0.17/nxproxy/configure.in +--- nx-libs-3.5.0.17.orig/nxproxy/configure.in 2013-01-09 15:03:33.163952754 +0100 ++++ nx-libs-3.5.0.17/nxproxy/configure.in 2013-01-09 15:04:24.842932418 +0100 +@@ -5,11 +5,6 @@ + AC_INIT(Main.c) + AC_PREREQ(2.13) + +-dnl Reset default compilation flags. +- +-CXXFLAGS="$CXXFLAGS -O3" +-CPPFLAGS="$CPPFLAGS -O3" +- + dnl Prefer headers and libraries from nx-X11 if present. + + if test -d "../nx-X11/exports/include" ; then |