summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstacktic <stacktic@pkgsrc.org>2009-10-19 08:46:30 +0000
committerstacktic <stacktic@pkgsrc.org>2009-10-19 08:46:30 +0000
commit64655848395017ff5b99c2ce63ca936dcf74f115 (patch)
tree6a5cc3fec018019da5d8e92d4dec039a700a3207
parentd521a5261f378904112922893f67c326f85c4419 (diff)
downloadpkgsrc-64655848395017ff5b99c2ce63ca936dcf74f115.tar.gz
Resolved strlcat/strlcpy symbols on Linux
-rw-r--r--misc/rump/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/rump/Makefile b/misc/rump/Makefile
index 9bc3168b068..2832d41d4e0 100644
--- a/misc/rump/Makefile
+++ b/misc/rump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/10/14 22:30:06 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2009/10/19 08:46:30 stacktic Exp $
#
DISTNAME= rump_20091014
@@ -48,6 +48,12 @@ SUBST_MESSAGE.linux= Adjusting tsort option.
SUBST_FILES.linux= share/mk/sys.mk
SUBST_SED.linux= -e "s|tsort -q|tsort|g"
SUBST_SED.linux+= -e "s|lorder|${WRKSRC}/bin/lorder|g"
+
+SUBST_CLASSES+= strlc
+SUBST_STAGE.strlc= pre-configure
+SUBST_MESSAGE.strlc= Fixing strlcat/strlcpy definition.
+SUBST_FILES.strlc= lib/libukfs/Makefile
+SUBST_SED.strlc= -e "s|\#LIB.*|LDADD+= -L${WRKSRC}/tools/compat -lnbcompat|g"
.endif
.if ${OPSYS} != "NetBSD"