1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Avoid the need for running autotools by replacing the patch to Makefile.am

with REINPLACE_CMDs on Makefile.in
This commit is contained in:
Tilman Keskinoz 2008-01-12 16:31:19 +00:00
parent 13140ca928
commit b541c75aaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205545
2 changed files with 7 additions and 14 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= poc
PORTVERSION= 1.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=poc
@ -20,8 +20,13 @@ LIB_DEPENDS= towitoko.2:${PORTSDIR}/devel/towitoko
PLIST_FILES= bin/poc
USE_GETOPT_LONG=yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:14 autoconf:213
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,; \
s,^CPPFLAGS =,CPPFLAGS = ${CPPFLAGS} -I${LOCALBASE}/include," \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
$FreeBSD$
--- src/Makefile.am.orig Thu Jul 25 16:35:09 2002
+++ src/Makefile.am Thu Jul 25 16:35:18 2002
@@ -30,6 +30,4 @@
# debugging
#CFLAGS = -g -Wall
-CFLAGS = -Wall -O2
-CPPFLAGS =