aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-06-26 07:05:03 +0800
committeralepulver <alepulver@FreeBSD.org>2006-06-26 07:05:03 +0800
commitd99ea38b7a6ceb869287f44fe7a22398f71929c6 (patch)
treede61299470982b65f6c361141f4df29d61b03627 /graphics
parent3ff7d05e209d2a2c501949709d362df89922b070 (diff)
downloadfreebsd-ports-graphics-d99ea38b7a6ceb869287f44fe7a22398f71929c6.tar.gz
freebsd-ports-graphics-d99ea38b7a6ceb869287f44fe7a22398f71929c6.tar.zst
freebsd-ports-graphics-d99ea38b7a6ceb869287f44fe7a22398f71929c6.zip
- Remove USE_X_PREFIX.
- Use SDL_CONFIG. - Do not quote BROKEN message. Approved by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/crystalspace-devel/Makefile8
-rw-r--r--graphics/crystalspace/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/graphics/crystalspace-devel/Makefile b/graphics/crystalspace-devel/Makefile
index 18a0d608a96..eb64941e034 100644
--- a/graphics/crystalspace-devel/Makefile
+++ b/graphics/crystalspace-devel/Makefile
@@ -23,7 +23,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
openal.0:${PORTSDIR}/audio/openal \
alut.1:${PORTSDIR}/audio/freealut
-USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -32,7 +31,8 @@ USE_GL= yes
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS} ${CXX}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS} ${CXX}" \
+ CPPFLAGS="${CPPFLAGS} "LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --enable-cpu-specific-optimizations=no
DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/CS
@@ -56,7 +56,7 @@ OPTIONS= DEBUG "Build with debugging information" on \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
+BROKEN= Does not compile
.endif
.if ${ARCH} != "i386"
@@ -157,7 +157,7 @@ CONFIGURE_ARGS+= --without-bfd
.endif
pre-configure:
- @${REINPLACE_CMD} -e 's,sdl-config,sdl11-config,g; \
+ @${REINPLACE_CMD} -e 's,sdl-config,${SDL_CONFIG:T},g; \
s,86\*),86\*|amd64|ia64),' ${WRKSRC}/configure
post-configure:
diff --git a/graphics/crystalspace/Makefile b/graphics/crystalspace/Makefile
index 18a0d608a96..eb64941e034 100644
--- a/graphics/crystalspace/Makefile
+++ b/graphics/crystalspace/Makefile
@@ -23,7 +23,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
openal.0:${PORTSDIR}/audio/openal \
alut.1:${PORTSDIR}/audio/freealut
-USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -32,7 +31,8 @@ USE_GL= yes
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS} ${CXX}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS} ${CXX}" \
+ CPPFLAGS="${CPPFLAGS} "LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --enable-cpu-specific-optimizations=no
DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/CS
@@ -56,7 +56,7 @@ OPTIONS= DEBUG "Build with debugging information" on \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
+BROKEN= Does not compile
.endif
.if ${ARCH} != "i386"
@@ -157,7 +157,7 @@ CONFIGURE_ARGS+= --without-bfd
.endif
pre-configure:
- @${REINPLACE_CMD} -e 's,sdl-config,sdl11-config,g; \
+ @${REINPLACE_CMD} -e 's,sdl-config,${SDL_CONFIG:T},g; \
s,86\*),86\*|amd64|ia64),' ${WRKSRC}/configure
post-configure: