summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-02 09:14:04 +0000
committeragc <agc@pkgsrc.org>1999-07-02 09:14:04 +0000
commit8d5254d7803894cc54028ff7a78f47def0520021 (patch)
tree5bad4325d2b32a074e8b6c56a98dbd039d766c6c /print
parent46fb8db2a228748c93c10f6b75c81b12cbd1e723 (diff)
downloadpkgsrc-8d5254d7803894cc54028ff7a78f47def0520021.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'print')
-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"