aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-04-24 23:47:57 +0800
committerade <ade@FreeBSD.org>2000-04-24 23:47:57 +0800
commitb087055fe986811df93153de631c3891d19eef1c (patch)
treec1c918ccfabda4b55afb93ff844fd1eb1e3e760a /devel
parent664955206d005563bbbf0b840c34aed9ec354844 (diff)
downloadfreebsd-ports-gnome-b087055fe986811df93153de631c3891d19eef1c.tar.gz
freebsd-ports-gnome-b087055fe986811df93153de631c3891d19eef1c.tar.zst
freebsd-ports-gnome-b087055fe986811df93153de631c3891d19eef1c.zip
By using USE_LIBTOOL, allow popt to build both static
and shared libraries Reviewed by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/popt/Makefile3
-rw-r--r--devel/popt/pkg-plist9
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index ee12f96ad25c..fc7edae8a3a8 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -18,7 +18,8 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/rpm2cpio:${PORTSDIR}/misc/rpm
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --enable-shared
MAN3= popt.3
MANCOMPRESSED= no
diff --git a/devel/popt/pkg-plist b/devel/popt/pkg-plist
index ada5b6a3852e..75b76a7939e5 100644
--- a/devel/popt/pkg-plist
+++ b/devel/popt/pkg-plist
@@ -1,5 +1,8 @@
+include/popt.h
+lib/libpopt.a
+lib/libpopt.so
+lib/libpopt.so.0
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/locale/sk/LC_MESSAGES/popt.mo
share/locale/ro/LC_MESSAGES/popt.mo
-lib/libpopt.la
-lib/libpopt.a
-include/popt.h