aboutsummaryrefslogtreecommitdiffstats
path: root/devel/popt
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-30 23:35:13 +0800
committertijl <tijl@FreeBSD.org>2014-08-30 23:35:13 +0800
commit26a367efb689daed0512f9fa5b6113d9af86a208 (patch)
tree1db66f09d9cbee2d8d081329a707504953c2f75d /devel/popt
parent9d60edd0dff49b130e23a86c71aa6e1500dba1f6 (diff)
downloadfreebsd-ports-gnome-26a367efb689daed0512f9fa5b6113d9af86a208.tar.gz
freebsd-ports-gnome-26a367efb689daed0512f9fa5b6113d9af86a208.tar.zst
freebsd-ports-gnome-26a367efb689daed0512f9fa5b6113d9af86a208.zip
- Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Remove CONFIGURE_ARGS
Diffstat (limited to 'devel/popt')
-rw-r--r--devel/popt/Makefile11
-rw-r--r--devel/popt/files/patch-configure10
-rw-r--r--devel/popt/pkg-plist2
3 files changed, 6 insertions, 17 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index d0abe33ebea0..6ec601d85c60 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -3,6 +3,7 @@
PORTNAME= popt
PORTVERSION= 1.16
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://rpm5.org/files/popt/
@@ -11,13 +12,11 @@ COMMENT= Getopt(3) like library with a number of enhancements, from Redhat
OPTIONS_DEFINE= NLS
-CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
- --program-prefix=""
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libtool
-USES= pathfix iconv
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
+USES= iconv libtool pathfix
USE_LDCONFIG= yes
NLS_CONFIGURE_ENABLE= nls
diff --git a/devel/popt/files/patch-configure b/devel/popt/files/patch-configure
deleted file mode 100644
index f0a779f9984e..000000000000
--- a/devel/popt/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig 2010-05-05 04:55:59.000000000 +0800
-+++ configure 2010-06-16 00:37:52.000000000 +0800
-@@ -8450,6 +8450,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ltmain"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/devel/popt/pkg-plist b/devel/popt/pkg-plist
index cd1ae4d69489..c327d7e3f608 100644
--- a/devel/popt/pkg-plist
+++ b/devel/popt/pkg-plist
@@ -1,8 +1,8 @@
include/popt.h
lib/libpopt.a
-lib/libpopt.la
lib/libpopt.so
lib/libpopt.so.0
+lib/libpopt.so.0.0.0
libdata/pkgconfig/popt.pc
man/man3/popt.3.gz
%%NLS%%share/locale/cs/LC_MESSAGES/popt.mo