svn commit: r369253 - in head/games/gracer: . files
Tijl Coosemans
tijl at FreeBSD.org
Thu Sep 25 13:48:36 UTC 2014
Author: tijl
Date: Thu Sep 25 13:48:35 2014
New Revision: 369253
URL: http://svnweb.freebsd.org/changeset/ports/369253
QAT: https://qat.redports.org/buildarchive/r369253/
Log:
- Patch configure instead of configure.in to avoid USE_AUTOTOOLS
- Specify the correct location of libplib
Deleted:
head/games/gracer/files/patch-configure.in
Modified:
head/games/gracer/Makefile
Modified: head/games/gracer/Makefile
==============================================================================
--- head/games/gracer/Makefile Thu Sep 25 13:29:38 2014 (r369252)
+++ head/games/gracer/Makefile Thu Sep 25 13:48:35 2014 (r369253)
@@ -3,7 +3,7 @@
PORTNAME= gracer
PORTVERSION= 0.1.5
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= games
MASTER_SITES= SF
@@ -18,15 +18,18 @@ LIB_DEPENDS= libgif.so:${PORTSDIR}/graph
USE_GL= glut
USES= gmake perl5 tcl:84
USE_PERL5= build
-USE_AUTOTOOLS= autoconf213
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-plib=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include \
-I${TCL_INCLUDEDIR}
LIBS+= -L${LOCALBASE}/lib
-# for plib (sound):
-CONFIGURE_ARGS+= --with-plib=${LOCALBASE}/plib
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/common/gr_memory.h
+ @${REINPLACE_CMD} \
+ -e 's|lib/tclConfig.sh|lib/tcl${TCL_VER}/tclConfig.sh|' \
+ -e '/SOUND_LIBS=/s/"$$/ -lplibul"/' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list