diff options
author | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
commit | f69d0aee59b843edb712e3c7201d67c1860a9902 (patch) | |
tree | 4ee2e06249d68477cf3fb68be1f095453bcec90d /print/ghostscript-gnu | |
parent | 2045c3a17f778f4291f00ac8495b025fac1eb26c (diff) | |
download | pkgsrc-f69d0aee59b843edb712e3c7201d67c1860a9902.tar.gz |
(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
worse.
(2) Create a new variable FIX_RPATH that lists variables that should
be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By
default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
additional variables may be appended from package Makefiles.
Diffstat (limited to 'print/ghostscript-gnu')
-rw-r--r-- | print/ghostscript-gnu/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common index 1ade7d60bf6..b60b3e18ec7 100644 --- a/print/ghostscript-gnu/Makefile.common +++ b/print/ghostscript-gnu/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2002/09/18 22:17:29 jlam Exp $ +# $NetBSD: Makefile.common,v 1.6 2003/03/14 19:37:54 jlam Exp $ DISTNAME= ghostscript-${GS_VERS} GS_VERS= 7.05 @@ -51,7 +51,7 @@ MAKE_FLAGS+= XCFLAGS="${CFLAGS}" MAKE_FLAGS+= XLDFLAGS="${LDFLAGS}" .if ${OPSYS} == "SunOS" -LDFLAGS+= -L${ZOULARISBASE}/lib -Wl,-R${ZOULARISBASE}/lib +LDFLAGS+= -L${ZOULARISBASE}/lib -Wl,${RPATH_FLAG}${ZOULARISBASE}/lib .endif REPLACE_PERL= lib/fixmswrd.pl |