summaryrefslogtreecommitdiff
path: root/net/snort-mysql
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-14 19:37:30 +0000
committerjlam <jlam>2003-03-14 19:37:30 +0000
commitf69d0aee59b843edb712e3c7201d67c1860a9902 (patch)
tree4ee2e06249d68477cf3fb68be1f095453bcec90d /net/snort-mysql
parent2045c3a17f778f4291f00ac8495b025fac1eb26c (diff)
downloadpkgsrc-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 'net/snort-mysql')
-rw-r--r--net/snort-mysql/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/snort-mysql/Makefile b/net/snort-mysql/Makefile
index 9ed27b7e1d3..bee85ebd7a8 100644
--- a/net/snort-mysql/Makefile
+++ b/net/snort-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/10/10 12:23:38 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2003/03/14 19:37:54 jlam Exp $
#
.include "../../net/snort/Makefile.common"
@@ -20,9 +20,7 @@ DISTINFO_FILE= ${PKGDIR}/distinfo
.include "../../mk/bsd.prefs.mk"
-.if ${_USE_RPATH} == "yes"
-LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql
-.endif
+LDFLAGS+= ${BUILDLINK_LDFLAGS.mysql-client}
.include "../../databases/mysql-client/buildlink2.mk"
.include "../../net/libpcap/buildlink2.mk"