aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-09-06 02:06:37 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-09-06 02:06:37 +0000
commit1975fc87b727bdf9dbbcdfaede1ebd6c0fd4b6e7 (patch)
treefcb08119a3ff318c64b14996da11ffe476e60730
parent770c2c4a1a1b21ed3c5583dc93814c31048a5f4c (diff)
downloadports-1975fc87b727bdf9dbbcdfaede1ebd6c0fd4b6e7.tar.gz
ports-1975fc87b727bdf9dbbcdfaede1ebd6c0fd4b6e7.zip
Notes
-rw-r--r--devel/libhtp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/libhtp/Makefile b/devel/libhtp/Makefile
index 17ef571f3603..52147c25c942 100644
--- a/devel/libhtp/Makefile
+++ b/devel/libhtp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libhtp
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= devel
#MASTER_SITES= # This port uses github
@@ -23,6 +24,10 @@ USE_LDCONFIG= yes
USE_GNOME= pkgconfig gnomehack
USE_ICONV= yes
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
+ -liconv
+
pre-configure:
@${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
@cd ${WRKSRC} && ${SH} ./autogen.sh