summaryrefslogtreecommitdiff
path: root/graphics/devil
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-07-24 16:20:30 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-07-24 16:20:30 +0000
commit531dd5bbe1898782b762a6c30083290f5653d9b8 (patch)
treed6b1d7e2ace9a0a86b2853eb2edf880a39d4d600 /graphics/devil
parent- Unbreak www/dokuwiki by fixing the missed before-patched files. (diff)
- Add USE_GL (since the last xorg update it has been built without OpenGL,
thus ports like "x11-toolkits/gigi" can't find some functions they need). - Remove unneeded SDL hacks. - Bump PORTREVISION. Approved by: miwi (maintainer)
Notes
Notes: svn path=/head/; revision=196219
Diffstat (limited to 'graphics/devil')
-rw-r--r--graphics/devil/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile
index f98f5b9f6d1b..e7692952563f 100644
--- a/graphics/devil/Makefile
+++ b/graphics/devil/Makefile
@@ -7,7 +7,7 @@
PORTNAME= devil
PORTVERSION= 1.6.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openil
@@ -22,24 +22,20 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
mng.1:${PORTSDIR}/graphics/libmng \
lcms.1:${PORTSDIR}/graphics/lcms
+USE_AUTOTOOLS= libtool:15
+USE_GL= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+
OPTIONS= SDL "Enable SDL support" off
.include <bsd.port.pre.mk>
.if defined(WITH_SDL)
USE_SDL= yes
-CFLAGS+= "-I${LOCALBASE}/include/SDL11"
-.endif
-
-USE_AUTOTOOLS= libtool:15
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
- -L${X11BASE}/lib"
-
-.if defined(WITH_SDL)
-post-patch:
- @${REINPLACE_CMD} 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure
+.else
+CONFIGURE_ARGS+=--disable-sdl
.endif
.include <bsd.port.post.mk>