summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>1999-10-23 15:08:31 +0000
committerfredb <fredb@pkgsrc.org>1999-10-23 15:08:31 +0000
commit56d5bc23a7b34ab05467a38ba53660ddb96ae780 (patch)
tree920ebd48e6130ff08e446539e49a4b7bd9460a83 /graphics
parent7d877c7758519a554388f65ed6cfdfe8c1c2c614 (diff)
downloadpkgsrc-56d5bc23a7b34ab05467a38ba53660ddb96ae780.tar.gz
Set --enable-a4-paper option to configure conditionally on PAPERSIZE=A4.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 10d0cfb7b16..7c15634070e 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/10/23 13:00:36 hubertf Exp $
+# $NetBSD: Makefile,v 1.11 1999/10/23 15:08:31 fredb Exp $
# FreeBSD Id: Makefile,v 1.12 1998/03/11 03:08:12 vanilla Exp
#
@@ -29,4 +29,9 @@ post-install:
${ECHO} ${INSTALL_MAN} ${MAN1:S/.1/.0/} ${PREFIX}/man/cat1; \
${INSTALL_MAN} ${MAN1:S/.1/.0/} ${PREFIX}/man/cat1
+.include "../../mk/bsd.prefs.mk"
+.if ${PAPERSIZE} == "A4"
+CONFIGURE_ARGS+= --enable-a4-paper
+.endif
+
.include "../../mk/bsd.pkg.mk"