1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove optional libcheck dependency; there's no reference to it anywhere

- Replace a patch with CONFIGURE_ARGS=--enable-shared
- White space fixes
This commit is contained in:
Tijl Coosemans 2014-08-06 09:11:11 +00:00
parent 653fbbb050
commit ea5282bfc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364157
2 changed files with 6 additions and 26 deletions

View File

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

View File

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