aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gnu/Makefile')
-rw-r--r--print/ghostscript-gnu/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index 82eb0423dccb..15d368b16921 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/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