summaryrefslogtreecommitdiff
path: root/graphics/glitz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glitz/Makefile')
-rw-r--r--graphics/glitz/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile
index 54254fb302b..32ea87ffd9a 100644
--- a/graphics/glitz/Makefile
+++ b/graphics/glitz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2008/04/12 22:43:01 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2008/05/19 13:47:45 tnn Exp $
DISTNAME= glitz-0.5.6
PKGREVISION= 2
@@ -23,6 +23,14 @@ PLIST.agl= yes
CONFIGURE_ENV+= AGL_LIBS="-framework AGL"
.endif
+.include "../../mk/bsd.prefs.mk"
+
+# This is for the benefit of the configure test; libglitz-glx already
+# links against libpthread.
+.if ${OPSYS} == "IRIX"
+BUILDLINK_TRANSFORM+= l:GL:GL:pthread
+.endif
+
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"