diff options
author | Bill Fumerola <billf@FreeBSD.org> | 2000-02-03 03:06:38 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 2000-02-03 03:06:38 +0000 |
commit | 680b9935f223d092e7f6122680996d7f9b82a136 (patch) | |
tree | c89e62552c97e956c718e6bd41a4ee6148017dd3 /graphics/gd/Makefile | |
parent | Quiet this port during fetch, checksum, makesum activities. (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.
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r-- | graphics/gd/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index e521758396ef..429848e4388a 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/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 |