summaryrefslogtreecommitdiff
path: root/net/waste/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-06-23 22:15:24 +0000
committerjmc <jmc@pkgsrc.org>2003-06-23 22:15:24 +0000
commit1a6129894ac5f3fcd9a341e68c548ad97074ef0a (patch)
treebdbb275d7e8257637d444dc81abe54564c54db9c /net/waste/Makefile
parenta9496429f5d2692a73c8d9b68552984b6f353975 (diff)
downloadpkgsrc-1a6129894ac5f3fcd9a341e68c548ad97074ef0a.tar.gz
Make this work with non -current pthreads (pth, etc)
Diffstat (limited to 'net/waste/Makefile')
-rw-r--r--net/waste/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/waste/Makefile b/net/waste/Makefile
index ac73c288b53..6585a6de8fe 100644
--- a/net/waste/Makefile
+++ b/net/waste/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/06/05 01:00:45 jschauma Exp $
+# $NetBSD: Makefile,v 1.2 2003/06/23 22:15:24 jmc Exp $
#
DISTNAME= waste-source
@@ -32,6 +32,10 @@ NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
+USE_BUILDLINK2= yes
+
+MAKE_ENV+= LDFLAGS="-L${BUILDLINK_PREFIX.pthread}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.pthread}/lib"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wastesrv ${PREFIX}/sbin/wastesrv
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/waste