summaryrefslogtreecommitdiff
path: root/print/rtf2latex
diff options
context:
space:
mode:
authoragc <agc>1999-07-02 09:14:04 +0000
committeragc <agc>1999-07-02 09:14:04 +0000
commite00b04c923e1d66325dadb41dfda6e570f722504 (patch)
tree5bad4325d2b32a074e8b6c56a98dbd039d766c6c /print/rtf2latex
parent2985462a4df4325639f53ea930c88e149a2fe6df (diff)
downloadpkgsrc-e00b04c923e1d66325dadb41dfda6e570f722504.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'print/rtf2latex')
-rw-r--r--print/rtf2latex/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/print/rtf2latex/Makefile b/print/rtf2latex/Makefile
index 59d12b6d31f..43d2e0d7b42 100644
--- a/print/rtf2latex/Makefile
+++ b/print/rtf2latex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/12/30 18:00:03 tron Exp $
+# $NetBSD: Makefile,v 1.3 1999/07/02 09:14:04 agc Exp $
# FreeBSD Id: Makefile,v 1.7 1998/08/31 07:51:40 tg Exp
#
@@ -16,4 +16,10 @@ NO_CONFIGURE= yes
post-extract:
${LN} -fs ${FILESDIR}/Makefile ${WRKSRC}
-.include <../../mk/bsd.pkg.mk>
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= XCFLAGS="${CPPFLAGS} -DSYSV" CC="${CC}"
+.endif
+
+.include "../../mk/bsd.pkg.mk"