aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-05 21:12:46 +0800
committerpav <pav@FreeBSD.org>2006-06-05 21:12:46 +0800
commit30be80bf8f0eb554c79dcf5664855d38adbf5795 (patch)
tree032fae8a7ca993a79e6538b263c5263e7b3e630e
parent4a82a2cc34945b4af20e4606ac853e9dc0711bf4 (diff)
downloadfreebsd-ports-gnome-30be80bf8f0eb554c79dcf5664855d38adbf5795.tar.gz
freebsd-ports-gnome-30be80bf8f0eb554c79dcf5664855d38adbf5795.tar.zst
freebsd-ports-gnome-30be80bf8f0eb554c79dcf5664855d38adbf5795.zip
- Fix build
PR: ports/95221 Submitted by: Erik Greenwald <erik@smluc.org> (maintainer)
-rw-r--r--graphics/gauche-gl/Makefile7
1 files 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}