aboutsummaryrefslogtreecommitdiff
path: root/devel/libconfuse
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-08-03 12:25:11 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-08-03 12:25:11 +0000
commite0533dac80fb68a91076912cabd2e864a18857ba (patch)
treeda8d6d067275031b89ea4fb6c0108500b9e36927 /devel/libconfuse
parent69d3a1e6ea1aa8edfef8bc32b87d7dfa514f8e0f (diff)
downloadports-e0533dac80fb68a91076912cabd2e864a18857ba.tar.gz
ports-e0533dac80fb68a91076912cabd2e864a18857ba.zip
Notes
Diffstat (limited to 'devel/libconfuse')
-rw-r--r--devel/libconfuse/Makefile12
-rw-r--r--devel/libconfuse/files/patch-configure10
-rw-r--r--devel/libconfuse/pkg-plist2
3 files changed, 18 insertions, 6 deletions
diff --git a/devel/libconfuse/Makefile b/devel/libconfuse/Makefile
index e51418936ced..d19cf4251996 100644
--- a/devel/libconfuse/Makefile
+++ b/devel/libconfuse/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libconfuse
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= confuse
@@ -17,14 +18,15 @@ LICENSE= ISCL
LIB_DEPENDS+= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck
.endif
-USES= iconv pathfix pkgconfig
-USE_AUTOTOOLS= libtool
-USE_LDCONFIG= yes
+USES= iconv pathfix pkgconfig libtool
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
CONFIGURE_ARGS+= --disable-nls
-CFLAGS+= -I${WRKSRC}/src
+CFLAGS+= -I${WRKSRC}/src
.if defined(WITH_CHECK)
CONFIGURE_ARGS+= --with-check=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include
.endif
+INSTALL_TARGET= install-strip
.include <bsd.port.mk>
diff --git a/devel/libconfuse/files/patch-configure b/devel/libconfuse/files/patch-configure
new file mode 100644
index 000000000000..ebc435ae89a3
--- /dev/null
+++ b/devel/libconfuse/files/patch-configure
@@ -0,0 +1,10 @@
+--- ./configure.orig 2014-08-03 14:00:38.000000000 +0200
++++ ./configure 2014-08-03 14:00:45.000000000 +0200
+@@ -10584,6 +10584,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+ $as_echo_n "checking whether to build shared libraries... " >&6; }
+ test "$can_build_shared" = "no" && enable_shared=no
++ enable_shared=yes
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
diff --git a/devel/libconfuse/pkg-plist b/devel/libconfuse/pkg-plist
index d05108212f81..811622fe96fc 100644
--- a/devel/libconfuse/pkg-plist
+++ b/devel/libconfuse/pkg-plist
@@ -1,6 +1,6 @@
include/confuse.h
lib/libconfuse.a
-lib/libconfuse.la
lib/libconfuse.so
lib/libconfuse.so.0
+lib/libconfuse.so.0.0.0
libdata/pkgconfig/libconfuse.pc