diff options
author | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
commit | a771eb7968c94f0addf4db20c476555536382e51 (patch) | |
tree | 4ee2e06249d68477cf3fb68be1f095453bcec90d /databases/sqsh/Makefile | |
parent | f11a46ae0626751873aec65de2e0341f70f610e7 (diff) | |
download | pkgsrc-a771eb7968c94f0addf4db20c476555536382e51.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 'databases/sqsh/Makefile')
-rw-r--r-- | databases/sqsh/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile index a6085e0f8a6..04d8f3fcf6a 100644 --- a/databases/sqsh/Makefile +++ b/databases/sqsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2002/10/12 09:40:38 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2003/03/14 19:37:36 jlam Exp $ DISTNAME= sqsh-1.7-src PKGNAME= sqsh-1.7 @@ -19,7 +19,7 @@ CONFIGURE_ARGS+= --with-readline CONFIGURE_ENV+= SYBASE="${BUILDLINK_PREFIX.freetds}/${SYBASE}" SYBASE= freetds -LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.freetds}/${SYBASE}/lib +LDFLAGS+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.freetds}/${SYBASE}/lib CONFIGURE_ENV+= INCDIRS="${BUILDLINK_PREFIX.readline}/include" CONFIGURE_ENV+= LIBDIRS="${BUILDLINK_PREFIX.readline}/lib" |