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

- Link against required libiconv

- Fix build when using custom PREFIX/LOCALBASE
- Bump PORTREVISION

Approved by:	wxs (maintainer)
This commit is contained in:
Ryan Steinmetz 2012-09-06 02:06:37 +00:00
parent 770c2c4a1a
commit 1975fc87b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303730

View File

@ -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