pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gl2ps gl2ps: Darwin provides its own OpenGL a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ec70ccd7633
branches:  trunk
changeset: 771231:3ec70ccd7633
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 15 17:15:13 2021 +0000

description:
gl2ps: Darwin provides its own OpenGL and GLUT; no need for Mesa and FreeGLUT

diffstat:

 graphics/gl2ps/Makefile      |  9 ++++++---
 graphics/gl2ps/buildlink3.mk |  9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 341f75a15ab3 -r 3ec70ccd7633 graphics/gl2ps/Makefile
--- a/graphics/gl2ps/Makefile   Wed Dec 15 14:51:43 2021 +0000
+++ b/graphics/gl2ps/Makefile   Wed Dec 15 17:15:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/12/08 16:02:09 adam Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/15 17:15:13 adam Exp $
 
 DISTNAME=      gl2ps-1.4.2
 PKGREVISION=   1
@@ -15,10 +15,13 @@
 
 DEPENDS+=      tex-latex-bin-[0-9]*:../../print/tex-latex-bin
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Darwin"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/freeglut/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
+.endif
+
 .include "../../devel/zlib/buildlink3.mk"
-
+.include "../../graphics/png/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 341f75a15ab3 -r 3ec70ccd7633 graphics/gl2ps/buildlink3.mk
--- a/graphics/gl2ps/buildlink3.mk      Wed Dec 15 14:51:43 2021 +0000
+++ b/graphics/gl2ps/buildlink3.mk      Wed Dec 15 17:15:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2021/12/08 16:02:09 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2021/12/15 17:15:13 adam Exp $
 
 BUILDLINK_TREE+=       gl2ps
 
@@ -6,14 +6,17 @@
 GL2PS_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.gl2ps+=  gl2ps>=1.4.2
-BUILDLINK_ABI_DEPENDS.gl2ps?=  gl2ps>=1.4.2
+BUILDLINK_ABI_DEPENDS.gl2ps+=  gl2ps>=1.4.2
 BUILDLINK_PKGSRCDIR.gl2ps?=    ../../graphics/gl2ps
 
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} != "Darwin"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/freeglut/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
+.endif
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
 
 .endif # GL2PS_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index