1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix build

PR:		ports/95221
Submitted by:	Erik Greenwald <erik@smluc.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-06-05 13:12:46 +00:00
parent d4c81595f2
commit 3367531f35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164442

View File

@ -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}