svn commit: r303730 - head/devel/libhtp
Ryan Steinmetz
zi at FreeBSD.org
Thu Sep 6 02:06:38 UTC 2012
Author: zi
Date: Thu Sep 6 02:06:37 2012
New Revision: 303730
URL: http://svn.freebsd.org/changeset/ports/303730
Log:
- Link against required libiconv
- Fix build when using custom PREFIX/LOCALBASE
- Bump PORTREVISION
Approved by: wxs (maintainer)
Modified:
head/devel/libhtp/Makefile
Modified: head/devel/libhtp/Makefile
==============================================================================
--- head/devel/libhtp/Makefile Wed Sep 5 22:55:51 2012 (r303729)
+++ head/devel/libhtp/Makefile Thu Sep 6 02:06:37 2012 (r303730)
@@ -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
More information about the svn-ports-head
mailing list