1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Prevent running ranlib during installation to unbreak user mode

installations which now install libraries with permissions 444.
This commit is contained in:
Gerald Pfeifer 2005-09-01 13:46:13 +00:00
parent 60d2a149b3
commit 25f1f7599e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141708
2 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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