aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gnustep-back
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-12-12 18:28:15 +0800
committerdinoex <dinoex@FreeBSD.org>2006-12-12 18:28:15 +0800
commit1f592206b732c2ad7da4be9f8ae2a77365363fc0 (patch)
tree9692e209083d2ada5f4e8f747af6cb86e0b1f9d7 /x11-toolkits/gnustep-back
parent29e37104fab31132248a9e85e275bba4e78937a1 (diff)
downloadfreebsd-ports-gnome-1f592206b732c2ad7da4be9f8ae2a77365363fc0.tar.gz
freebsd-ports-gnome-1f592206b732c2ad7da4be9f8ae2a77365363fc0.tar.zst
freebsd-ports-gnome-1f592206b732c2ad7da4be9f8ae2a77365363fc0.zip
- switch depedency from imake-6 to dgs
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: