aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript6/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
commit0ec0586a8d8987e4e54f0dd4e967482e9aa1a266 (patch)
treee73c9ee97d82d2badd9ee78b2047d0def240489d /print/ghostscript6/Makefile
parenta9cacd11615028425e6ac813e765d59834ade596 (diff)
Notes
Diffstat (limited to 'print/ghostscript6/Makefile')
-rw-r--r--print/ghostscript6/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/ghostscript6/Makefile b/print/ghostscript6/Makefile
index 82eb0423dccb..15d368b16921 100644
--- a/print/ghostscript6/Makefile
+++ b/print/ghostscript6/Makefile
@@ -3,7 +3,7 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.2 1997/06/11 06:37:54 andreas Exp $
+# $Id: Makefile,v 1.3 1997/06/12 16:48:56 andreas Exp $
#
DISTNAME= ghostscript-5.0
@@ -33,8 +33,17 @@ GS_SOURCES+= ghostscript-5.0gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
-#if you are using DIN A4 paper format, keep this _here_ before MAKE_FLAGS
+.if defined(A4)
CFLAGS+= -DA4
+.endif
+
+pre-fetch:
+.if !defined(A4)
+ @${ECHO_MSG} "Type \"make A4=yes\" if you want -DA4 for compilation."
+.else
+ @${ECHO_MSG} "Using -DA4 for compilation."
+.endif
+
post-extract:
touch $(WRKSRC)/adler32.c