Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 13:48:36 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369253 - in head/games/gracer: . files
Message-ID:  <201409251348.s8PDmaXv083257@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409251348.s8PDmaXv083257>