summaryrefslogtreecommitdiff
path: root/print/psutils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-10-05 13:59:57 +0000
committeragc <agc@pkgsrc.org>1999-10-05 13:59:57 +0000
commit65016f23e04cbc83cf81ebc04be8145271319284 (patch)
treef99111b3480846394d13c279471c977f882d7a77 /print/psutils
parent427479ed23aead3ae1018cba1106931a15980d41 (diff)
downloadpkgsrc-65016f23e04cbc83cf81ebc04be8145271319284.tar.gz
Incorporate Solaris changes.
Diffstat (limited to 'print/psutils')
-rw-r--r--print/psutils/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/psutils/Makefile b/print/psutils/Makefile
index de3a93b9317..a4b97051da6 100644
--- a/print/psutils/Makefile
+++ b/print/psutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 1999/09/05 18:37:49 kim Exp $
+# $NetBSD: Makefile,v 1.16 1999/10/05 13:59:57 agc Exp $
# FreeBSD Id: Makefile,v 1.15 1998/01/08 18:52:13 fenner Exp
#
@@ -19,6 +19,10 @@ USE_PERL5= yes
PAPERSIZE?= A4
MAKE_FLAGS+= PAPER=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=
+.endif
+
pre-configure:
@case "X${PAPERSIZE}" in \
XA4|XLetter) \
@@ -45,7 +49,7 @@ post-install:
strip ${PREFIX}/bin/$$file; \
done
low=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`; \
- if [ ! -e ${PREFIX}/etc/psutils.cfg ]; then \
+ if [ ! -f ${PREFIX}/etc/psutils.cfg ]; then \
${ECHO} "PAPERSIZE=$$low" > ${PREFIX}/etc/psutils.cfg; \
fi