aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd1/Makefile
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2000-02-03 03:06:38 +0000
committerBill Fumerola <billf@FreeBSD.org>2000-02-03 03:06:38 +0000
commit680b9935f223d092e7f6122680996d7f9b82a136 (patch)
treec89e62552c97e956c718e6bd41a4ee6148017dd3 /graphics/gd1/Makefile
parent5c48b08a30d220a2d24f0cc4a55d7d5a0b153847 (diff)
-DWANT_X11 is now required to build this port with X support. You no longer
have to install X in order to have a decent web server.
Notes
Notes: svn path=/head/; revision=25435
Diffstat (limited to 'graphics/gd1/Makefile')
-rw-r--r--graphics/gd1/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/gd1/Makefile b/graphics/gd1/Makefile
index e521758396ef..429848e4388a 100644
--- a/graphics/gd1/Makefile
+++ b/graphics/gd1/Makefile
@@ -13,11 +13,19 @@ MASTER_SITES= http://www.boutell.com/gd/http/ \
MAINTAINER= billf@FreeBSD.org
-LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
- ttf.4:${PORTSDIR}/print/freetype \
+LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
+.if defined(WANT_X11)
+LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
Xpm.4:${PORTSDIR}/graphics/xpm
USE_XLIB= YES
+.endif
+
+pre-fetch:
+.if !defined(WANT_X11)
+ @${ECHO} -n "If you want to compile in X support use "
+ @${ECHO} "'make -DWANT_X11' instead"
+.endif
pre-install:
${MKDIR} ${PREFIX}/include/gd