1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- fix build of gnustep-xdps

This commit is contained in:
Dirk Meyer 2006-04-16 11:47:05 +00:00
parent 7542c553b2
commit 9411240072
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159691

View File

@ -40,6 +40,9 @@ 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+= pswrap:${PORTSDIR}/${GNUSTEP_DGS_PORT}
LIB_DEPENDS+= dpstk:${PORTSDIR}/${GNUSTEP_DGS_PORT}
CONFIGURE_ARGS+= --enable-graphics=xdps --with-name=xdps
CONFIGURE_ARGS+= --disable-glitz
PLIST_SUB+= BACK=xdps-${BACKVERSION}
@ -87,17 +90,6 @@ ADDITIONAL_LDFLAGS+= -L/usr/lib -lcipher
MAKE_ENV+= ADDITIONAL_LDFLAGS="${ADDITIONAL_LDFLAGS}"
.endif
.if defined(WITH_GNUSTEP_XDPS)
.if ${X_WINDOW_SYSTEM:L} == xorg
XORG_LIBRARIES_PORT!= (cd ${PORTSDIR}/${GNUSTEP_GUI_PORT} && make -V X_LIBRARIES_PORT)
XORG_PORTVERSION!= (cd ${XORG_LIBRARIES_PORT} && make -V PORTVERSION)
XORG_VERSION= ${XORG_PORTVERSION:S=.==g}
.if ${XORG_VERSION} >= 690
BROKEN= xdps is no longer supported by xorg version 6.9.0 and above
.endif
.endif
.endif
pre-configure:
.for file in config.guess config.sub install-sh
@${CP} ${PREFIX}/System/Library/Makefiles/${file} ${WRKSRC}