aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/gd/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 5675e60bb7d0..1ddc367518bf 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -41,7 +41,6 @@ OPTIONS= X11 "X11 support" off \
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11)
-
.if defined(WITH_XPM)
USE_XORG= xpm x11
CPPFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include -DHAVE_LIBXPM
@@ -49,6 +48,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lX11
LDFLAGS2+= -L${LOCALBASE}/lib
FEATURES+= GD_XPM
.endif
+.endif
.if defined(WITH_FONTCONFIG)
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
@@ -58,8 +58,6 @@ LDFLAGS2+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
FEATURES+= GD_FONTCONFIG
.endif
-.endif
-
.if defined(WITH_ICONV)
USE_ICONV= yes
CPPFLAGS+= -DHAVE_ICONV -DHAVE_ICONV_H -DHAVE_ICONV_T_DEF