aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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