summaryrefslogtreecommitdiffstats
path: root/graphics/gd2/Makefile
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-02-03 03:06:38 +0000
committerbillf <billf@FreeBSD.org>2000-02-03 03:06:38 +0000
commit912b13cf2a0bb4cbf5691c8edba260b049e42cf5 (patch)
tree6a620dd1e8c447f248ca5319b736a251e2a7faf6 /graphics/gd2/Makefile
parent3940b50f940207365b570b6918def649fe1375c3 (diff)
downloadFreeBSD-ports-912b13cf2a0bb4cbf5691c8edba260b049e42cf5.zip
FreeBSD-ports-912b13cf2a0bb4cbf5691c8edba260b049e42cf5.tar.gz
-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.
Diffstat (limited to 'graphics/gd2/Makefile')
-rw-r--r--graphics/gd2/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/gd2/Makefile b/graphics/gd2/Makefile
index e521758..429848e 100644
--- a/graphics/gd2/Makefile
+++ b/graphics/gd2/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
OpenPOWER on IntegriCloud