ports/114866: [PATCH] graphics/devil: bring OpenGL support back
Alejandro Pulver
alepulver at FreeBSD.org
Tue Jul 24 15:10:03 UTC 2007
>Number: 114866
>Category: ports
>Synopsis: [PATCH] graphics/devil: bring OpenGL support back
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 24 15:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alejandro Pulver
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
>Description:
- 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.
>How-To-Repeat:
>Fix:
--- devil.diff begins here ---
Index: devil/Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/devil/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- devil/Makefile 27 Apr 2007 12:56:30 -0000 1.13
+++ devil/Makefile 24 Jul 2007 13:56:23 -0000
@@ -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 @@
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>
--- devil.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list