summaryrefslogtreecommitdiff
path: root/security/poc/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2008-01-12 16:31:19 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2008-01-12 16:31:19 +0000
commitb541c75aaabc03ca634839601dccb5c02c3f8348 (patch)
tree6cd20213d1995744cbbeb3d3a97f4ada08445a68 /security/poc/Makefile
parentSubtitle Composer supports the basic operations (text, time, and (diff)
Avoid the need for running autotools by replacing the patch to Makefile.am
with REINPLACE_CMDs on Makefile.in
Diffstat (limited to 'security/poc/Makefile')
-rw-r--r--security/poc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/poc/Makefile b/security/poc/Makefile
index ba69f56fc710..2200867424ee 100644
--- a/security/poc/Makefile
+++ b/security/poc/Makefile
@@ -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>