pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rump Resolved strlcat/strlcpy symbols on Linux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9450bbfb0039
branches:  trunk
changeset: 566254:9450bbfb0039
user:      stacktic <stacktic%pkgsrc.org@localhost>
date:      Mon Oct 19 08:46:30 2009 +0000

description:
Resolved strlcat/strlcpy symbols on Linux

diffstat:

 misc/rump/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 3af936d1111b -r 9450bbfb0039 misc/rump/Makefile
--- a/misc/rump/Makefile        Mon Oct 19 08:39:37 2009 +0000
+++ b/misc/rump/Makefile        Mon Oct 19 08:46:30 2009 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index