aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-27 04:32:18 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-27 04:32:18 +0800
commitafae474713b6b76af7cf6be6e3635031cc80078f (patch)
treeb9421edbaf8d92fb0864e6bacbb03d643c6da571 /graphics/gd
parent391f69109b37433cefae0dc189d9fd0090d82ce1 (diff)
downloadfreebsd-ports-gnome-afae474713b6b76af7cf6be6e3635031cc80078f.tar.gz
freebsd-ports-gnome-afae474713b6b76af7cf6be6e3635031cc80078f.tar.zst
freebsd-ports-gnome-afae474713b6b76af7cf6be6e3635031cc80078f.zip
- use PKGNAMESUFFIX when made with WITHOUT_X11
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