From b541c75aaabc03ca634839601dccb5c02c3f8348 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 12 Jan 2008 16:31:19 +0000 Subject: Avoid the need for running autotools by replacing the patch to Makefile.am with REINPLACE_CMDs on Makefile.in --- security/poc/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'security/poc/Makefile') 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 -- cgit v1.2.3