Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 02:06:37 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303730 - head/devel/libhtp
Message-ID:  <201209060206.q8626bSQ040735@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209060206.q8626bSQ040735>