From 3367531f352d3765e56cb815cb35f1b04b24717a Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 5 Jun 2006 13:12:46 +0000 Subject: [PATCH] - Fix build PR: ports/95221 Submitted by: Erik Greenwald (maintainer) --- graphics/gauche-gl/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile index 7218475558e2..de26416c400b 100644 --- a/graphics/gauche-gl/Makefile +++ b/graphics/gauche-gl/Makefile @@ -7,7 +7,7 @@ PORTNAME= gl PORTVERSION= 0.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics scheme MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gauche @@ -22,8 +22,6 @@ BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut RUN_DEPENDS= ${BUILD_DEPENDS} -BROKEN= Does not build - USE_GL= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" @@ -37,6 +35,9 @@ PLIST_SUB= VERSION="`gauche-config -V`" \ INFO= gauche-gl-refe gauche-gl-refj .endif +post-patch: + ${REINPLACE_CMD} s/VESRION/VERSION/ ${WRKSRC}/src/gen-ptrs.scm + do-install: cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET} cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}