diff options
author | gerald <gerald@FreeBSD.org> | 2005-09-01 21:46:13 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2005-09-01 21:46:13 +0800 |
commit | d288ed1918a621c9f78a5adccafebb52c53c0f06 (patch) | |
tree | 2f3fd693d48cc5b58f64484376eb93ab32277c2e | |
parent | 05f7688e03cbcf6bb9427782fbcb743a3982d795 (diff) | |
download | freebsd-ports-gnome-d288ed1918a621c9f78a5adccafebb52c53c0f06.tar.gz freebsd-ports-gnome-d288ed1918a621c9f78a5adccafebb52c53c0f06.tar.zst freebsd-ports-gnome-d288ed1918a621c9f78a5adccafebb52c53c0f06.zip |
Prevent running ranlib during installation to unbreak user mode
installations which now install libraries with permissions 444.
-rw-r--r-- | lang/gcc34/Makefile | 1 | ||||
-rw-r--r-- | lang/gcc34/files/patch-ranlib | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 1093d30d5ebb..9710f238d65a 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -58,6 +58,7 @@ CONFIGURE_ARGS= --disable-nls \ --program-suffix=${SUFFIX} \ --libdir=${TARGLIB} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ +CONFIGURE_ENV= RANLIB=: MAKE_ARGS+= MAKEINFOFLAGS="--no-split" .if defined(WANT_SHAREDLIBS) CONFIGURE_ARGS+= --enable-shared diff --git a/lang/gcc34/files/patch-ranlib b/lang/gcc34/files/patch-ranlib new file mode 100644 index 000000000000..d21bbcfdd428 --- /dev/null +++ b/lang/gcc34/files/patch-ranlib @@ -0,0 +1,20 @@ +Recent versions of FreeBSD default to installing libraries with 0444 +permissions which causes ranlib, that GCC rans after installation, to +fail. Just replace RANLIB by a dummy program to avoid that. + +Index: gcc/Makefile.in +=================================================================== +RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v +retrieving revision 1.1223.2.23 +diff -u -3 -p -r1.1223.2.23 Makefile.in +--- gcc/Makefile.in 24 Feb 2005 09:26:57 -0000 1.1223.2.23 ++++ gcc/Makefile.in 31 Aug 2005 20:15:42 -0000 +@@ -213,7 +213,7 @@ FLEX = @FLEX@ + FLEXFLAGS = + AR = ar + AR_FLAGS = rc +-RANLIB = @RANLIB@ ++RANLIB = echo + + # ------------------------------------------- + # Programs which operate on the build machine |