summaryrefslogtreecommitdiff
path: root/graphics/MesaDemos/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-11-18 16:10:55 +0000
committerjschauma <jschauma>2003-11-18 16:10:55 +0000
commitb0f9e4ee8819541990fd9702c345b08ef96bd283 (patch)
tree2bb68f730e1b8885e40673667ec8b888cc17ebc3 /graphics/MesaDemos/Makefile
parente4eb3424a47846f236112ade7972952f9ed6a1fa (diff)
downloadpkgsrc-b0f9e4ee8819541990fd9702c345b08ef96bd283.tar.gz
Finally update Mesa and friends after the distfile changed on the website
without a version bump. Changes made, according to the website, for libtool/autofoo fixes. Some changes from Ron Roskens: glut depends upon graphics/glu (otherwise its linked against X11R6 libs) MesaDemos: rather than using the pre-built distribution makefiles, use the automake/configure built makefiles which have the build dependencies all setup. This closes PR pkg/23476.
Diffstat (limited to 'graphics/MesaDemos/Makefile')
-rw-r--r--graphics/MesaDemos/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/graphics/MesaDemos/Makefile b/graphics/MesaDemos/Makefile
index f6c4c912d9d..da05847871f 100644
--- a/graphics/MesaDemos/Makefile
+++ b/graphics/MesaDemos/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2003/08/26 01:43:51 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2003/11/18 16:10:55 jschauma Exp $
PKGNAME= MesaDemos-${MESA_VERSION}
+PKGREVISION= 1
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
@@ -11,18 +12,21 @@ COMMENT= OpenGL examples and Demos
USE_BUILDLINK2= yes
USE_X11BASE= yes
+
BUILD_DIRS= ${WRKSRC}/book ${WRKSRC}/demos ${WRKSRC}/samples
-MAKEFILE= Makefile.X11
-ALL_TARGET= netbsd
+ALL_TARGET= check
+CONFIGURE_ARGS+= --with-glut=${X11PREFIX}
+CONFIGURE_ENV+= ac_cv_lib_glut_main=yes
MAKE_ENV+= X11PREFIX=${X11PREFIX}
do-install:
.for dir in book demos images samples
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGNAME}/${dir}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir}
cd ${WRKSRC}/${dir} && ${PAX} -s ,^./.*Makefile.*,, -s ,^./CVS.*,, \
- -rw . ${PREFIX}/share/examples/${PKGNAME}/${dir}
+ -s ,^./.*\\.o$$,, -s ,^./\\.libs.*,, -s ,^./\\.deps.*,, \
+ -rw . ${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir}
.endfor
- ${CHMOD} -R a+rX ${PREFIX}/share/examples/${PKGNAME}
+ ${CHMOD} -R a+rX ${PREFIX}/share/examples/${PKGNAME_NOREV}
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"