aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libconfuse
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libconfuse')
-rw-r--r--devel/libconfuse/Makefile22
-rw-r--r--devel/libconfuse/files/patch-configure10
2 files changed, 6 insertions, 26 deletions
diff --git a/devel/libconfuse/Makefile b/devel/libconfuse/Makefile
index d19cf4251996..61d324c18c08 100644
--- a/devel/libconfuse/Makefile
+++ b/devel/libconfuse/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libconfuse
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= confuse
+MASTER_SITES= SAVANNAH/confuse
DISTNAME= confuse-${PORTVERSION}
MAINTAINER= otis@freebsd.sk
@@ -14,19 +13,10 @@ COMMENT= Configuration file parsing library
LICENSE= ISCL
-.if defined(WITH_CHECK)
-LIB_DEPENDS+= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck
-.endif
-
-USES= iconv pathfix pkgconfig libtool
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-CONFIGURE_ARGS+= --disable-nls
-CFLAGS+= -I${WRKSRC}/src
-.if defined(WITH_CHECK)
-CONFIGURE_ARGS+= --with-check=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include
-.endif
-INSTALL_TARGET= install-strip
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-nls --enable-shared
+INSTALL_TARGET= install-strip
+USES= iconv pathfix pkgconfig libtool
+USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/libconfuse/files/patch-configure b/devel/libconfuse/files/patch-configure
deleted file mode 100644
index ebc435ae89a3..000000000000
--- a/devel/libconfuse/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./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.