summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-04-17 04:49:07 +0000
committerben <ben@pkgsrc.org>2004-04-17 04:49:07 +0000
commitf26e3c671f4d3cf418d6365347efefbf175bd59f (patch)
tree8e41ee7661041076c32451d7c9e2312ff2315214 /textproc
parent2238cf2d2d5e4f5d2081e5facaeee3c2e336c2d6 (diff)
downloadpkgsrc-f26e3c671f4d3cf418d6365347efefbf175bd59f.tar.gz
Make helpdeco build and run in Linux.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/helpdeco/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/helpdeco/Makefile b/textproc/helpdeco/Makefile
index 0a94a9eca80..e6e9f75194c 100644
--- a/textproc/helpdeco/Makefile
+++ b/textproc/helpdeco/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:26:49 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/17 04:49:07 ben Exp $
#
DISTNAME= helpdc21
@@ -35,6 +35,14 @@ MASTER_SITE_SIMTEL+= ftp://ftp.cdrom.com/pub/simtelnet/ \
ftp://ftp.crc.ca/pub/systems/ibmpc/simtelnet/ \
ftp://ftp.direct.ca/pub/simtelnet/
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+CFLAGS+= -Dstrlcpy=strncpy
+.endif
+
+MAKE_ENV+= CFLAGS="${CFLAGS}"
+
post-extract:
${RM} -f ${WRKSRC}/*exe
${CP} ${FILESDIR}/helpdeco-de.txt \