pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/helpdeco Make helpdeco build and run in Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfb124dcc61e
branches:  trunk
changeset: 473182:dfb124dcc61e
user:      ben <ben%pkgsrc.org@localhost>
date:      Sat Apr 17 04:49:07 2004 +0000

description:
Make helpdeco build and run in Linux.

diffstat:

 textproc/helpdeco/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r d1839a002397 -r dfb124dcc61e textproc/helpdeco/Makefile
--- a/textproc/helpdeco/Makefile        Sat Apr 17 04:32:16 2004 +0000
+++ b/textproc/helpdeco/Makefile        Sat Apr 17 04:49:07 2004 +0000
@@ -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 @@
                        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 \



Home | Main Index | Thread Index | Old Index