pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cal3d-examples cal3d-examples: Fix detection ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b8877360bde
branches:  trunk
changeset: 338810:1b8877360bde
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Aug 30 18:39:22 2019 +0000

description:
cal3d-examples: Fix detection of freeglut

diffstat:

 graphics/cal3d-examples/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r d2bcaede4011 -r 1b8877360bde graphics/cal3d-examples/Makefile
--- a/graphics/cal3d-examples/Makefile  Fri Aug 30 18:33:56 2019 +0000
+++ b/graphics/cal3d-examples/Makefile  Fri Aug 30 18:39:22 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2018/01/14 14:58:38 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2019/08/30 18:39:22 nia Exp $
 #
 
-PKGNAME=               cal3d-examples-${CAL3D_VERSION}
+PKGNAME=       cal3d-examples-${CAL3D_VERSION}
 PKGREVISION=   3
 
 .include "../../graphics/cal3d/Makefile.common"
@@ -47,5 +47,8 @@
        cd ${WRKDATADIR} && pax -rw -pp -s ',.*\.orig$$,,' [a-z]* ${DATADIR}
 
 .include "../../graphics/cal3d/buildlink3.mk"
-.include "../../graphics/Mesa/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freeglut/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-glut=${BUILDLINK_PREFIX.freeglut}
+.include "../../graphics/glu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index