summaryrefslogtreecommitdiff
path: root/graphics/gd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-26 20:32:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-26 20:32:18 +0000
commit30d25e15e16ae8e09f0192538c09f8ed4e1511d6 (patch)
tree6953dab6864c70440c98576b3326ffbe4e9a7fee /graphics/gd
parent- make PKGNAMESUFFIX more flexible (diff)
- use PKGNAMESUFFIX when made with WITHOUT_X11
Notes
Notes: svn path=/head/; revision=105375
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index b6f7a5b12e60..6240b464f558 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -12,6 +12,7 @@ CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
${MASTER_SITE_RINGSERVER}
MASTER_SITE_SUBDIR= graphics/gd
+PKGNAMESUFFIX?= ${NOX11_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER?= dinoex@FreeBSD.org
COMMENT?= A graphics library for fast creation of images
@@ -29,6 +30,7 @@ SCRIPTDIR= ${FILESDIR}
.if defined(WITH_XPM)
.if defined(WITHOUT_X11)
+NOX11_SUFFIX?= -nox11
LIB_DEPENDS+= Xpm:${PORTSDIR}/graphics/xpm
CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM -DXPM_NOX
LDFLAGS+= -L${X11BASE}/lib -lXpm