diff options
author | gerald <gerald@FreeBSD.org> | 2010-02-15 06:36:50 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2010-02-15 06:36:50 +0800 |
commit | 6a0a4c1af722133a983694bb6d0e36c771418310 (patch) | |
tree | 3fe2209de9fb7798add6246da5e74f4eb43e5aa8 /Mk/bsd.gcc.mk | |
parent | f4f83f8e6dabf26190365c0aae891b836ff058e1 (diff) | |
download | freebsd-ports-gnome-6a0a4c1af722133a983694bb6d0e36c771418310.tar.gz freebsd-ports-gnome-6a0a4c1af722133a983694bb6d0e36c771418310.tar.zst freebsd-ports-gnome-6a0a4c1af722133a983694bb6d0e36c771418310.zip |
Locate the GCC run-time libraries under ${LOCALBASE}, where the GCC
ports are installed/assumed, instead of ${PREFIX} where a dependent
port is installed.
Reported by: Rob Farmer <rfarmer@predatorlabs.net>
Diffstat (limited to 'Mk/bsd.gcc.mk')
-rw-r--r-- | Mk/bsd.gcc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 101b3880725b..500ce1414d25 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -192,8 +192,8 @@ _GCC_PORT_DEPENDS:= gcc${V} CC:= gcc${V} CXX:= g++${V} . if ${_USE_GCC} != 3.4 -CFLAGS+= -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS} -LDFLAGS+= -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS} +CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS} +LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS} . endif . endif . endif |