aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-back
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-12-12 10:28:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-12-12 10:28:15 +0000
commitac0b8f0e7fff0a3d7245afab80ace8b89eb3a314 (patch)
treeb227bc10c28ca10a67557159f9ef01c0e0771d0d /x11-toolkits/gnustep-back
parent3a3923404d0045df4725b6334fef82830b7cc6bd (diff)
downloadports-ac0b8f0e7fff0a3d7245afab80ace8b89eb3a314.tar.gz
ports-ac0b8f0e7fff0a3d7245afab80ace8b89eb3a314.zip
Notes
Diffstat (limited to 'x11-toolkits/gnustep-back')
-rw-r--r--x11-toolkits/gnustep-back/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile
index 98402aaf06c6..05dcf18a6e0b 100644
--- a/x11-toolkits/gnustep-back/Makefile
+++ b/x11-toolkits/gnustep-back/Makefile
@@ -19,29 +19,27 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
-USE_XLIB= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-jpeg-include=${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-USE_GMAKE= yes
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_GUI= yes
USE_GNUSTEP_CONFIGURE= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
-MAKEFILE=
+USE_XLIB= yes
+
MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${X11BASE}/include"
BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
BREAKS_IF_PEDANTIC= yes
.if defined(WITH_GNUSTEP_XDPS)
GNUSTEP_DGS_PORT?= x11/dgs
-BUILD_DEPENDS+= imake:${X_IMAKE_PORT}
BUILD_DEPENDS+= dgs:${PORTSDIR}/${GNUSTEP_DGS_PORT}
LIB_DEPENDS+= dpstk:${PORTSDIR}/${GNUSTEP_DGS_PORT}
CONFIGURE_ARGS+= --enable-graphics=xdps --with-name=xdps
@@ -81,13 +79,17 @@ CONFLICTS?= gunstep-back-xdps-0.* gunstep-back-art-0.* gunstep-back-cairo-0.*
TARGLIB!= (cd ${PORTSDIR}/${GNUSTEP_OBJC_PORT} && make -V TARGLIB)
ADDITIONAL_LDFLAGS+= -L${TARGLIB}
-MAKE_ENV+= ADDITIONAL_LDFLAGS="${ADDITIONAL_LDFLAGS}"
MAKE_FLAGS+= messages=yes
PLIST_SUB+= BACKVERSION=${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
.if ${OSVERSION} < 500000
ADDITIONAL_LDFLAGS+= -L/usr/lib -lcipher
-MAKE_ENV+= ADDITIONAL_LDFLAGS="${ADDITIONAL_LDFLAGS}"
+.endif
+
+.if defined(WITH_GNUSTEP_XDPS)
+.if ${X_WINDOW_SYSTEM:L} == "xfree86-4"
+BUILD_DEPENDS+= pswrap:${PORTSDIR}/devel/imake-4
+.endif
.endif
pre-configure: