summaryrefslogtreecommitdiff
path: root/graphics/glitz/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-23 03:42:43 +0000
committerminskim <minskim@pkgsrc.org>2006-07-23 03:42:43 +0000
commitc0976c5d97d45a7b88703819c622572ea98bc509 (patch)
tree795ace90b4676f8a3a90d20f2c9ed307f104bf0c /graphics/glitz/Makefile
parent936da13757971b2181212907e512f60e5b583b38 (diff)
downloadpkgsrc-c0976c5d97d45a7b88703819c622572ea98bc509.tar.gz
Support the x11 option to enable/disable the glx backend. Platforms
without X11 may turn off this option while using another backend such as AGL on Mac OS X.
Diffstat (limited to 'graphics/glitz/Makefile')
-rw-r--r--graphics/glitz/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile
index 2c210e2f900..97a310dcf57 100644
--- a/graphics/glitz/Makefile
+++ b/graphics/glitz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/07/04 15:12:58 drochner Exp $
+# $NetBSD: Makefile,v 1.19 2006/07/23 03:42:43 minskim Exp $
DISTNAME= glitz-0.5.6
CATEGORIES= graphics
@@ -13,8 +13,6 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
src/glitz.pc.in
-LIBS.Darwin+= -lXext
-
.if exists(/System/Library/Frameworks/AGL.framework)
PLIST_SUBST+= AGL=""
.else
@@ -27,7 +25,7 @@ PLIST_SUBST+= AGL="@comment "
CFLAGS+= -c99
.endif
-.include "../../graphics/MesaLib/buildlink3.mk"
+.include "options.mk"
+
.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"