aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-16 08:48:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-16 08:48:22 +0000
commitdc1177a9a5be3b096b2023326ea54d3152bf1571 (patch)
treefac4efda6d456d2e4eb8e8e61b9c14eda7202813
parent880b5e44bc87f9065a91e444717a092d0661cce9 (diff)
downloadports-dc1177a9a5be3b096b2023326ea54d3152bf1571.tar.gz
ports-dc1177a9a5be3b096b2023326ea54d3152bf1571.zip
Fourth round of INSTALLS_SHLIBS conversion.
Notes
Notes: svn path=/head/; revision=29630
-rw-r--r--archivers/ark/Makefile1
-rw-r--r--archivers/ark/pkg-plist2
-rw-r--r--archivers/lzo/Makefile1
-rw-r--r--archivers/lzo/pkg-plist2
-rw-r--r--archivers/lzo2/Makefile1
-rw-r--r--archivers/lzo2/pkg-plist2
-rw-r--r--audio/libaudiofile/Makefile1
-rw-r--r--audio/libaudiofile/pkg-plist2
-rw-r--r--audio/libcdaudio/Makefile1
-rw-r--r--audio/libcdaudio/pkg-plist2
-rw-r--r--audio/libmikmod/Makefile1
-rw-r--r--audio/libmikmod/pkg-plist2
-rw-r--r--audio/libshout/Makefile1
-rw-r--r--audio/libshout/pkg-plist2
-rw-r--r--audio/libshout2/Makefile1
-rw-r--r--audio/libshout2/pkg-plist2
-rw-r--r--audio/libworkman/Makefile4
-rw-r--r--audio/libworkman/pkg-plist2
-rw-r--r--audio/nas/Makefile2
-rw-r--r--audio/nas/pkg-plist2
-rw-r--r--comms/kremotecontrol/Makefile1
-rw-r--r--comms/kremotecontrol/pkg-plist2
-rw-r--r--converters/kdesupport11/Makefile5
-rw-r--r--converters/kdesupport11/pkg-plist2
-rw-r--r--converters/kdesupport2/Makefile1
-rw-r--r--converters/kdesupport2/pkg-plist2
-rw-r--r--converters/libutf-8/Makefile5
-rw-r--r--converters/libutf-8/pkg-plist2
-rw-r--r--databases/metakit/Makefile1
-rw-r--r--databases/metakit/pkg-plist2
-rw-r--r--deskutils/kcharselect/Makefile1
-rw-r--r--deskutils/kcharselect/pkg-plist2
-rw-r--r--devel/libPropList/Makefile1
-rw-r--r--devel/libPropList/pkg-plist2
-rw-r--r--devel/libU77/Makefile3
-rw-r--r--devel/libU77/pkg-plist2
-rw-r--r--devel/libcache/Makefile1
-rw-r--r--devel/libcache/pkg-plist2
-rw-r--r--devel/libdlmalloc/Makefile4
-rw-r--r--devel/libdlmalloc/pkg-plist2
-rw-r--r--devel/libffi-devel/Makefile4
-rw-r--r--devel/libffi-devel/pkg-plist2
-rw-r--r--devel/libffi/Makefile4
-rw-r--r--devel/libffi/pkg-plist2
-rw-r--r--devel/libgetline/Makefile2
-rw-r--r--devel/libgetline/pkg-plist2
-rw-r--r--devel/libgii/Makefile2
-rw-r--r--devel/libgii/pkg-plist2
-rw-r--r--devel/libglade/Makefile1
-rw-r--r--devel/libglade/pkg-plist2
-rw-r--r--devel/libglade2/Makefile1
-rw-r--r--devel/libglade2/pkg-plist2
-rw-r--r--devel/libgnugetopt/Makefile3
-rw-r--r--devel/libgnugetopt/pkg-plist2
-rw-r--r--devel/libgtop/Makefile2
-rw-r--r--devel/libgtop/pkg-plist2
-rw-r--r--devel/libgtop2/Makefile2
-rw-r--r--devel/libgtop2/pkg-plist2
-rw-r--r--devel/libmalloc/Makefile3
-rw-r--r--devel/libmalloc/pkg-plist2
-rw-r--r--devel/libol/Makefile1
-rw-r--r--devel/libol/pkg-plist2
-rw-r--r--devel/libshhmsg/Makefile2
-rw-r--r--devel/libshhmsg/pkg-plist2
-rw-r--r--devel/libshhopt/Makefile2
-rw-r--r--devel/libshhopt/pkg-plist2
-rw-r--r--devel/libsigc++/Makefile2
-rw-r--r--devel/libsigc++/pkg-plist2
-rw-r--r--devel/libsigc++12/Makefile2
-rw-r--r--devel/libsigc++12/pkg-plist2
-rw-r--r--devel/libsigc++20/Makefile2
-rw-r--r--devel/libsigc++20/pkg-plist2
-rw-r--r--devel/libslang/Makefile4
-rw-r--r--devel/libslang/pkg-plist2
-rw-r--r--devel/libxalloc/Makefile2
-rw-r--r--devel/libxalloc/pkg-plist2
-rw-r--r--devel/lwp/Makefile1
-rw-r--r--devel/lwp/pkg-plist2
-rw-r--r--devel/mico/Makefile2
-rw-r--r--devel/mico/pkg-plist2
-rw-r--r--devel/mm/Makefile4
-rw-r--r--devel/mm/pkg-plist2
-rw-r--r--devel/newt/Makefile1
-rw-r--r--devel/newt/pkg-plist2
-rw-r--r--devel/oaf/Makefile1
-rw-r--r--devel/oaf/pkg-plist2
-rw-r--r--devel/omniORB/Makefile6
-rw-r--r--devel/omniORB/pkg-plist2
-rw-r--r--editors/calligra/Makefile1
-rw-r--r--editors/calligra/pkg-plist2
-rw-r--r--editors/koffice-kde3/Makefile1
-rw-r--r--editors/koffice-kde3/pkg-plist2
-rw-r--r--editors/koffice-kde4/Makefile1
-rw-r--r--editors/koffice-kde4/pkg-plist2
-rw-r--r--editors/koffice/Makefile1
-rw-r--r--editors/koffice/pkg-plist2
-rw-r--r--ftp/ncftp3/Makefile2
-rw-r--r--ftp/ncftp3/pkg-plist2
-rw-r--r--games/libshhcards/Makefile2
-rw-r--r--games/libshhcards/pkg-plist2
-rw-r--r--graphics/djvulibre/Makefile2
-rw-r--r--graphics/djvulibre/pkg-plist2
-rw-r--r--graphics/giflib/Makefile1
-rw-r--r--graphics/giflib/pkg-plist2
-rw-r--r--graphics/jbigkit/Makefile4
-rw-r--r--graphics/jbigkit/pkg-plist2
-rw-r--r--graphics/jpeg-mmx/Makefile2
-rw-r--r--graphics/jpeg-mmx/pkg-plist2
-rw-r--r--graphics/jpeg/Makefile2
-rw-r--r--graphics/jpeg/pkg-plist2
-rw-r--r--graphics/lfview/Makefile4
-rw-r--r--graphics/lfview/pkg-plist2
-rw-r--r--graphics/libdjvu++/Makefile2
-rw-r--r--graphics/libdjvu++/pkg-plist2
-rw-r--r--graphics/libggi/Makefile4
-rw-r--r--graphics/libggi/pkg-plist2
-rw-r--r--graphics/libimg/Makefile1
-rw-r--r--graphics/libimg/pkg-plist2
-rw-r--r--graphics/libungif/Makefile1
-rw-r--r--graphics/libungif/pkg-plist2
-rw-r--r--graphics/libwmf/Makefile4
-rw-r--r--graphics/libwmf/pkg-plist2
-rw-r--r--graphics/mpeg-lib/Makefile4
-rw-r--r--graphics/mpeg-lib/pkg-plist2
-rw-r--r--graphics/netpbm/Makefile4
-rw-r--r--graphics/netpbm/pkg-plist2
-rw-r--r--java/kaffe/Makefile2
-rw-r--r--java/kaffe/pkg-plist2
-rw-r--r--lang/librep/Makefile1
-rw-r--r--lang/librep/pkg-plist2
-rw-r--r--lang/librep2/Makefile1
-rw-r--r--lang/librep2/pkg-plist2
-rw-r--r--lang/otcl/Makefile2
-rw-r--r--lang/otcl/pkg-plist2
-rw-r--r--mail/mh/Makefile5
-rw-r--r--mail/mh/pkg-plist2
-rw-r--r--math/kcalc/Makefile1
-rw-r--r--math/kcalc/pkg-plist2
-rw-r--r--math/lapack/Makefile3
-rw-r--r--math/lapack/pkg-plist2
-rw-r--r--math/librandlib/Makefile2
-rw-r--r--math/librandlib/pkg-plist2
-rw-r--r--math/libranlib/Makefile2
-rw-r--r--math/libranlib/pkg-plist2
-rw-r--r--math/linpack/Makefile4
-rw-r--r--math/linpack/pkg-plist2
-rw-r--r--math/netcdf/Makefile2
-rw-r--r--math/netcdf/pkg-plist2
-rw-r--r--math/pari/Makefile6
-rw-r--r--math/pari/pkg-plist2
-rw-r--r--math/pari/pkg-plist.emacs2
-rw-r--r--math/randlib/Makefile2
-rw-r--r--math/randlib/pkg-plist2
-rw-r--r--misc/kdeutils2/Makefile1
-rw-r--r--misc/kdeutils2/pkg-plist2
-rw-r--r--misc/kdeutils3/Makefile1
-rw-r--r--misc/kdeutils3/pkg-plist2
-rw-r--r--misc/kdeutils4/Makefile1
-rw-r--r--misc/kdeutils4/pkg-plist2
-rw-r--r--net-im/libicq/Makefile1
-rw-r--r--net-im/libicq/pkg-plist2
-rw-r--r--net-mgmt/libsmi/Makefile1
-rw-r--r--net-mgmt/libsmi/pkg-plist2
-rw-r--r--net/kdenetwork2/Makefile1
-rw-r--r--net/kdenetwork2/pkg-plist2
-rw-r--r--net/kdenetwork3/Makefile1
-rw-r--r--net/kdenetwork3/pkg-plist2
-rw-r--r--net/kdenetwork4/Makefile1
-rw-r--r--net/kdenetwork4/pkg-plist2
-rw-r--r--net/libetherx/Makefile1
-rw-r--r--net/libetherx/pkg-plist2
-rw-r--r--net/libicq/Makefile1
-rw-r--r--net/libicq/pkg-plist2
-rw-r--r--net/libjabber/Makefile1
-rw-r--r--net/libjabber/pkg-plist2
-rw-r--r--net/libsmi/Makefile1
-rw-r--r--net/libsmi/pkg-plist2
-rw-r--r--net/libsocket++/Makefile2
-rw-r--r--net/libsocket++/pkg-plist2
-rw-r--r--print/pdflib/Makefile2
-rw-r--r--print/pdflib/pkg-plist2
-rw-r--r--print/pdflib3/Makefile2
-rw-r--r--print/pdflib3/pkg-plist2
-rw-r--r--print/pdflib4/Makefile2
-rw-r--r--print/pdflib4/pkg-plist2
-rw-r--r--science/netcdf/Makefile2
-rw-r--r--science/netcdf/pkg-plist2
-rw-r--r--science/netcdf4/Makefile2
-rw-r--r--science/netcdf4/pkg-plist2
-rw-r--r--security/kgpg-kde4/Makefile1
-rw-r--r--security/kgpg-kde4/pkg-plist2
-rw-r--r--security/krb5-16/Makefile2
-rw-r--r--security/krb5-16/pkg-plist3
-rw-r--r--security/krb5-17/Makefile2
-rw-r--r--security/krb5-17/pkg-plist3
-rw-r--r--security/krb5-appl/Makefile2
-rw-r--r--security/krb5-appl/pkg-plist3
-rw-r--r--security/krb5/Makefile2
-rw-r--r--security/krb5/pkg-plist3
-rw-r--r--security/kwallet/Makefile1
-rw-r--r--security/kwallet/pkg-plist2
-rw-r--r--security/libmcrypt/Makefile4
-rw-r--r--security/libmcrypt/pkg-plist2
-rw-r--r--security/libparanoia/Makefile2
-rw-r--r--security/libparanoia/pkg-plist2
-rw-r--r--security/mhash/Makefile4
-rw-r--r--security/mhash/pkg-plist2
-rw-r--r--security/openssl-beta/Makefile1
-rw-r--r--security/openssl-beta/pkg-plist2
-rw-r--r--security/openssl/Makefile1
-rw-r--r--security/openssl/pkg-plist2
-rw-r--r--sysutils/kdf/Makefile1
-rw-r--r--sysutils/kdf/pkg-plist2
-rw-r--r--sysutils/kfloppy/Makefile1
-rw-r--r--sysutils/kfloppy/pkg-plist2
-rw-r--r--sysutils/sweeper/Makefile1
-rw-r--r--sysutils/sweeper/pkg-plist2
-rw-r--r--textproc/libxml/Makefile1
-rw-r--r--textproc/libxml/pkg-plist2
-rw-r--r--textproc/libxml2/Makefile1
-rw-r--r--textproc/libxml2/pkg-plist2
-rw-r--r--textproc/libxode/Makefile1
-rw-r--r--textproc/libxode/pkg-plist2
-rw-r--r--www/libghttp/Makefile1
-rw-r--r--www/libghttp/pkg-plist2
-rw-r--r--www/libxpg4-ns/Makefile5
-rw-r--r--www/libxpg4-ns/pkg-plist2
-rw-r--r--x11-toolkits/jx/Makefile1
-rw-r--r--x11-toolkits/jx/pkg-plist2
-rw-r--r--x11-toolkits/kde-qt-addon/Makefile1
-rw-r--r--x11-toolkits/kde-qt-addon/pkg-plist2
-rw-r--r--x11-toolkits/lesstif/Makefile2
-rw-r--r--x11-toolkits/lesstif/pkg-plist2
-rw-r--r--x11-toolkits/libjsearch/Makefile1
-rw-r--r--x11-toolkits/libjsearch/pkg-plist2
-rw-r--r--x11-toolkits/libjtoolbar/Makefile1
-rw-r--r--x11-toolkits/libjtoolbar/pkg-plist2
-rw-r--r--x11-toolkits/libjtree/Makefile1
-rw-r--r--x11-toolkits/libjtree/pkg-plist2
-rw-r--r--x11-toolkits/neXtaw/Makefile2
-rw-r--r--x11-toolkits/neXtaw/pkg-plist2
-rw-r--r--x11-wm/libdockapp/Makefile1
-rw-r--r--x11-wm/libdockapp/pkg-plist2
-rw-r--r--x11/kde4-baseapps/Makefile1
-rw-r--r--x11/kde4-baseapps/pkg-plist2
-rw-r--r--x11/kde4-runtime/Makefile1
-rw-r--r--x11/kde4-runtime/pkg-plist2
-rw-r--r--x11/kde4-workspace/Makefile1
-rw-r--r--x11/kde4-workspace/pkg-plist2
-rw-r--r--x11/kdebase2/Makefile1
-rw-r--r--x11/kdebase2/pkg-plist2
-rw-r--r--x11/kdebase3/Makefile1
-rw-r--r--x11/kdebase3/pkg-plist2
-rw-r--r--x11/kdebase4-runtime/Makefile1
-rw-r--r--x11/kdebase4-runtime/pkg-plist2
-rw-r--r--x11/kdebase4-workspace/Makefile1
-rw-r--r--x11/kdebase4-workspace/pkg-plist2
-rw-r--r--x11/kdebase4/Makefile1
-rw-r--r--x11/kdebase4/pkg-plist2
-rw-r--r--x11/kdelibs11/Makefile1
-rw-r--r--x11/kdelibs11/pkg-plist2
-rw-r--r--x11/kdelibs2/Makefile1
-rw-r--r--x11/kdelibs2/pkg-plist2
-rw-r--r--x11/kdelibs3/Makefile1
-rw-r--r--x11/kdelibs3/pkg-plist2
-rw-r--r--x11/kdelibs4/Makefile1
-rw-r--r--x11/kdelibs4/pkg-plist2
-rw-r--r--x11/libdnd/Makefile2
-rw-r--r--x11/libdnd/pkg-plist2
269 files changed, 149 insertions, 376 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/archivers/ark/pkg-plist b/archivers/ark/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/archivers/ark/pkg-plist
+++ b/archivers/ark/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/archivers/lzo/Makefile b/archivers/lzo/Makefile
index db246dc510be..319a8bacffe7 100644
--- a/archivers/lzo/Makefile
+++ b/archivers/lzo/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= libs/compression
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
post-install:
.if !defined(NOPORTDOCS)
diff --git a/archivers/lzo/pkg-plist b/archivers/lzo/pkg-plist
index b4f08b85558c..0e9081acb364 100644
--- a/archivers/lzo/pkg-plist
+++ b/archivers/lzo/pkg-plist
@@ -13,8 +13,6 @@ include/lzoutil.h
lib/liblzo.a
lib/liblzo.so
lib/liblzo.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/lzo/LTEST.TXT
share/doc/lzo/LZO.FAQ
share/doc/lzo/LZO.TXT
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index db246dc510be..319a8bacffe7 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= libs/compression
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
post-install:
.if !defined(NOPORTDOCS)
diff --git a/archivers/lzo2/pkg-plist b/archivers/lzo2/pkg-plist
index b4f08b85558c..0e9081acb364 100644
--- a/archivers/lzo2/pkg-plist
+++ b/archivers/lzo2/pkg-plist
@@ -13,8 +13,6 @@ include/lzoutil.h
lib/liblzo.a
lib/liblzo.so
lib/liblzo.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/lzo/LTEST.TXT
share/doc/lzo/LZO.FAQ
share/doc/lzo/LZO.TXT
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 6017e7a7fe64..77888573d2f2 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -15,6 +15,7 @@ DISTNAME= audiofile-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
MAKE_ARGS= "-E CFLAGS"
diff --git a/audio/libaudiofile/pkg-plist b/audio/libaudiofile/pkg-plist
index 18398657818f..308ca0a7a9f0 100644
--- a/audio/libaudiofile/pkg-plist
+++ b/audio/libaudiofile/pkg-plist
@@ -7,6 +7,4 @@ include/aupvlist.h
lib/libaudiofile.a
lib/libaudiofile.so
lib/libaudiofile.so.0
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/aclocal/audiofile.m4
diff --git a/audio/libcdaudio/Makefile b/audio/libcdaudio/Makefile
index 82b18f13f52e..199bef75dd45 100644
--- a/audio/libcdaudio/Makefile
+++ b/audio/libcdaudio/Makefile
@@ -13,5 +13,6 @@ MASTER_SITES= ftp://cdcd.undergrid.net/libcdaudio/
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/audio/libcdaudio/pkg-plist b/audio/libcdaudio/pkg-plist
index b9d755fb7c3a..14661e42e689 100644
--- a/audio/libcdaudio/pkg-plist
+++ b/audio/libcdaudio/pkg-plist
@@ -3,6 +3,4 @@ include/cdaudio.h
lib/libcdaudio.a
lib/libcdaudio.so
lib/libcdaudio.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/libcdaudio.m4
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index eed7736bfc14..1af45f3bae6b 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= mharo@FreeBSD.org
LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
USE_GMAKE= yes
MAN1= libmikmod-config.1
diff --git a/audio/libmikmod/pkg-plist b/audio/libmikmod/pkg-plist
index 5e185b9dd70b..66c4f48bd013 100644
--- a/audio/libmikmod/pkg-plist
+++ b/audio/libmikmod/pkg-plist
@@ -7,5 +7,3 @@ lib/libmikmod.so.2
info/mikmod.info
@exec install-info %D/info/mikmod.info %D/info/dir
share/aclocal/libmikmod.m4
-@unexec /sbin/ldconfig -R
-@exec /sbin/ldconfig -m %B
diff --git a/audio/libshout/Makefile b/audio/libshout/Makefile
index c42accd288d1..7719796eb846 100644
--- a/audio/libshout/Makefile
+++ b/audio/libshout/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://developer.icecast.org/libshout/releases/
MAINTAINER= zach@pabst.bendnet.com
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>
diff --git a/audio/libshout/pkg-plist b/audio/libshout/pkg-plist
index 5c1b45b0a016..0111fd02935a 100644
--- a/audio/libshout/pkg-plist
+++ b/audio/libshout/pkg-plist
@@ -2,8 +2,6 @@ lib/libshout.a
lib/libshout.la
lib/libshout.so
lib/libshout.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
include/shout/shout.h
@dirrm include/shout
share/doc/libshout-%%PORTVERSION%%/example.html
diff --git a/audio/libshout2/Makefile b/audio/libshout2/Makefile
index c42accd288d1..7719796eb846 100644
--- a/audio/libshout2/Makefile
+++ b/audio/libshout2/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://developer.icecast.org/libshout/releases/
MAINTAINER= zach@pabst.bendnet.com
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>
diff --git a/audio/libshout2/pkg-plist b/audio/libshout2/pkg-plist
index 5c1b45b0a016..0111fd02935a 100644
--- a/audio/libshout2/pkg-plist
+++ b/audio/libshout2/pkg-plist
@@ -2,8 +2,6 @@ lib/libshout.a
lib/libshout.la
lib/libshout.so
lib/libshout.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
include/shout/shout.h
@dirrm include/shout
share/doc/libshout-%%PORTVERSION%%/example.html
diff --git a/audio/libworkman/Makefile b/audio/libworkman/Makefile
index eee4d4cb716e..873c32dfbebf 100644
--- a/audio/libworkman/Makefile
+++ b/audio/libworkman/Makefile
@@ -16,13 +16,11 @@ MAINTAINER= jim@FreeBSD.org
WRKSRC= ${WRKDIR}/libworkman
USE_IMAKE= yes
+INSTALLS_SHLIBS= yes
post-patch:
@${CP} ${WRKSRC}/Config ${WRKSRC}/Config.orig;
@${SED} -e 's^/usr/local/^${PREFIX}/^g' \
${WRKSRC}/Config.orig > ${WRKSRC}/Config
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/audio/libworkman/pkg-plist b/audio/libworkman/pkg-plist
index f262f7ef6330..9522b8b9da82 100644
--- a/audio/libworkman/pkg-plist
+++ b/audio/libworkman/pkg-plist
@@ -1,7 +1,5 @@
lib/libworkman.so
lib/libworkman.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
include/workman/wm_cdda.h
include/workman/wm_cddb.h
include/workman/wm_cdinfo.h
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 3d20017064ed..b0faddaaf86f 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -16,6 +16,7 @@ EXTRACT_SUFX= .src.tar.gz
MAINTAINER= ports@FreeBSD.org
USE_IMAKE= yes
+INSTALLS_SHLIBS= yes
ALL_TARGET= World
# no need to "xmkmf -a" and create the Makefiles twice -- see above
XMKMF= xmkmf
@@ -74,7 +75,6 @@ post-patch:
${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/audio/nas/pkg-plist b/audio/nas/pkg-plist
index 519f849269e7..c82c66600704 100644
--- a/audio/nas/pkg-plist
+++ b/audio/nas/pkg-plist
@@ -42,6 +42,4 @@ lib/X11/AuErrorDB
lib/libaudio.a
lib/libaudio.so
lib/libaudio.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
@dirrm include/audio
diff --git a/comms/kremotecontrol/Makefile b/comms/kremotecontrol/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/comms/kremotecontrol/Makefile
+++ b/comms/kremotecontrol/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/comms/kremotecontrol/pkg-plist b/comms/kremotecontrol/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/comms/kremotecontrol/pkg-plist
+++ b/comms/kremotecontrol/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/converters/kdesupport11/Makefile b/converters/kdesupport11/Makefile
index 9f7a726d6d00..59ede63a572f 100644
--- a/converters/kdesupport11/Makefile
+++ b/converters/kdesupport11/Makefile
@@ -18,12 +18,9 @@ USE_BZIP2= yes
USE_QT= yes
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ARGS= --without-libjpeg --without-libgif \
--without-libgdbm --without-libuulib
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/converters/kdesupport11/pkg-plist b/converters/kdesupport11/pkg-plist
index 50ed634494c9..cbb910c24115 100644
--- a/converters/kdesupport11/pkg-plist
+++ b/converters/kdesupport11/pkg-plist
@@ -56,11 +56,9 @@ lib/librdb.so.56
@exec ln -sf libjs.so.2 %D/lib/libjs.so
@exec ln -sf libmimelib.so.1 %D/lib/libmimelib.so
@exec ln -sf librdb.so.55 %D/lib/librdb.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@dirrm include/rdb
@dirrm include/mimelib
@unexec rm -f %D/lib/libQwSpriteField.so
@unexec rm -f %D/lib/libjs.so
@unexec rm -f %D/lib/libmimelib.so
@unexec rm -f %D/lib/librdb.so
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/converters/kdesupport2/Makefile b/converters/kdesupport2/Makefile
index bd92baefc706..e6d26d03bbc4 100644
--- a/converters/kdesupport2/Makefile
+++ b/converters/kdesupport2/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= will@FreeBSD.org
MOC= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/converters/kdesupport2/pkg-plist b/converters/kdesupport2/pkg-plist
index c5e8778d93f7..ced6e23cbf13 100644
--- a/converters/kdesupport2/pkg-plist
+++ b/converters/kdesupport2/pkg-plist
@@ -42,8 +42,6 @@ lib/libmimelib.la
lib/libmimelib.so.3
@exec ln -sf libQwSpriteField.so.7 %D/lib/libQwSpriteField.so
@exec ln -sf libmimelib.so.3 %D/lib/libmimelib.so
-@exec /sbin/ldconfig -m %B
@dirrm include/mimelib
@unexec rm -f %D/lib/libQwSpriteField.so
@unexec rm -f %D/lib/libmimelib.so
-@unexec /sbin/ldconfig -R
diff --git a/converters/libutf-8/Makefile b/converters/libutf-8/Makefile
index b54e50fa9e91..380a11b7c508 100644
--- a/converters/libutf-8/Makefile
+++ b/converters/libutf-8/Makefile
@@ -15,6 +15,8 @@ DISTNAME= libutf-8-1.0
MAINTAINER= adam@whizkidtech.net
+INSTALLS_SHLIBS= yes
+
MAN3= libutf-8.3 fgetu8.3 fputu8.3 sgetu8.3 sputu8.3
do-install:
@@ -27,7 +29,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/sgetu8.3 ${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/sputu8.3 ${PREFIX}/man/man3
-post-install:
- ${SETENV} OBFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/converters/libutf-8/pkg-plist b/converters/libutf-8/pkg-plist
index 04594e27fe37..83b1e459da6f 100644
--- a/converters/libutf-8/pkg-plist
+++ b/converters/libutf-8/pkg-plist
@@ -1,5 +1,3 @@
include/utf-8.h
lib/libutf-8.so
lib/libutf-8.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index dfaa3dac5da5..ac1a6f03c907 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= rcarter@pinyon.org
WRKSRC= ${WRKDIR}/${DISTNAME}/builds
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
LIBTOOLFILES= ../unix/aclocal.m4
CONFIGURE_SCRIPT= ../unix/configure
MAKE_ARGS= CXXFLAGS="-Dq4_STD ${CFLAGS}"
diff --git a/databases/metakit/pkg-plist b/databases/metakit/pkg-plist
index eddf3c5f00c6..d7690ddbd347 100644
--- a/databases/metakit/pkg-plist
+++ b/databases/metakit/pkg-plist
@@ -6,5 +6,3 @@ lib/libmk4.a
lib/libmk4.so
lib/libmk4.la
lib/libmk4.so.0
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/deskutils/kcharselect/Makefile
+++ b/deskutils/kcharselect/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/deskutils/kcharselect/pkg-plist b/deskutils/kcharselect/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/deskutils/kcharselect/pkg-plist
+++ b/deskutils/kcharselect/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/devel/libPropList/Makefile b/devel/libPropList/Makefile
index 0e1feeff15bd..08b406ba1610 100644
--- a/devel/libPropList/Makefile
+++ b/devel/libPropList/Makefile
@@ -15,6 +15,7 @@ DISTNAME= libPropList-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
USE_AUTOCONF= yes
.include <bsd.port.mk>
diff --git a/devel/libPropList/pkg-plist b/devel/libPropList/pkg-plist
index 9fbe1811dd49..79162e0ab571 100644
--- a/devel/libPropList/pkg-plist
+++ b/devel/libPropList/pkg-plist
@@ -2,5 +2,3 @@ include/proplist.h
lib/libPropList.a
lib/libPropList.so
lib/libPropList.so.2
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/devel/libU77/Makefile b/devel/libU77/Makefile
index 4088d104ac2a..6c7fcad1f88f 100644
--- a/devel/libU77/Makefile
+++ b/devel/libU77/Makefile
@@ -12,6 +12,8 @@ MASTER_SITES= http://flo.mech.eng.usyd.edu.au/~norris/src/
MAINTAINER= ports@FreeBSD.org
+INSTALLS_SHLIBS= yes
+
pre-build:
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
@@ -25,7 +27,6 @@ MAN3= access.3f alarm.3f chdir.3f chmod.3f ctime.3f drand.3f dsecnd.3f \
system.3f time.3f unlink.3f wait.3f wclock.3f
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/man/*.3f ${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
diff --git a/devel/libU77/pkg-plist b/devel/libU77/pkg-plist
index 48b69cc19598..cd6e8567d406 100644
--- a/devel/libU77/pkg-plist
+++ b/devel/libU77/pkg-plist
@@ -1,7 +1,5 @@
lib/libU77.a
lib/libU77.so
lib/libU77.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
share/doc/libU77/manual.ps
@dirrm share/doc/libU77
diff --git a/devel/libcache/Makefile b/devel/libcache/Makefile
index 3e107f274315..6219c89f440f 100644
--- a/devel/libcache/Makefile
+++ b/devel/libcache/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://www.afro-productions.com/
MAINTAINER= will@FreeBSD.org
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-shared
WRKSRC= ${WRKDIR}/libcache
diff --git a/devel/libcache/pkg-plist b/devel/libcache/pkg-plist
index 4d1e538dfc7c..983a0eb3a218 100644
--- a/devel/libcache/pkg-plist
+++ b/devel/libcache/pkg-plist
@@ -1,4 +1,2 @@
lib/libcache.so.%%VERSION%%
lib/libcache.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldcomfing -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/devel/libdlmalloc/Makefile b/devel/libdlmalloc/Makefile
index 1c4f2d897de0..cc5757abc98e 100644
--- a/devel/libdlmalloc/Makefile
+++ b/devel/libdlmalloc/Makefile
@@ -14,6 +14,7 @@ DISTFILES= malloc-2.6.5.c
MAINTAINER= roberto@FreeBSD.org
NO_WRKSUBDIR= yes
+INSTALLS_SHLIBS= yes
do-extract:
@${RM} -rf ${WRKDIR}
@@ -21,7 +22,4 @@ do-extract:
${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}
${CP} -p ${FILESDIR}/Makefile ${WRKDIR}
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/devel/libdlmalloc/pkg-plist b/devel/libdlmalloc/pkg-plist
index 719e50e1e70f..7f3b86f52a64 100644
--- a/devel/libdlmalloc/pkg-plist
+++ b/devel/libdlmalloc/pkg-plist
@@ -1,5 +1,3 @@
lib/libdlmalloc.a
lib/libdlmalloc.so
lib/libdlmalloc.so.2.6
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/devel/libffi-devel/Makefile b/devel/libffi-devel/Makefile
index ae0157fc51b5..9033938e3d80 100644
--- a/devel/libffi-devel/Makefile
+++ b/devel/libffi-devel/Makefile
@@ -13,9 +13,7 @@ MASTER_SITES= ftp://sourceware.cygnus.com/pub/libffi/
MAINTAINER= horance@freedom.ie.cycu.edu.tw
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_TARGET= # empty
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/devel/libffi-devel/pkg-plist b/devel/libffi-devel/pkg-plist
index 0051e01b0c05..1c80c754c715 100644
--- a/devel/libffi-devel/pkg-plist
+++ b/devel/libffi-devel/pkg-plist
@@ -4,5 +4,3 @@ include/ffi_mips.h
lib/libffi.a
lib/libffi.so
lib/libffi.so.2.3
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index ae0157fc51b5..9033938e3d80 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -13,9 +13,7 @@ MASTER_SITES= ftp://sourceware.cygnus.com/pub/libffi/
MAINTAINER= horance@freedom.ie.cycu.edu.tw
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_TARGET= # empty
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/devel/libffi/pkg-plist b/devel/libffi/pkg-plist
index 0051e01b0c05..1c80c754c715 100644
--- a/devel/libffi/pkg-plist
+++ b/devel/libffi/pkg-plist
@@ -4,5 +4,3 @@ include/ffi_mips.h
lib/libffi.a
lib/libffi.so
lib/libffi.so.2.3
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/devel/libgetline/Makefile b/devel/libgetline/Makefile
index fa74f8bdd451..5cd99c8a939a 100644
--- a/devel/libgetline/Makefile
+++ b/devel/libgetline/Makefile
@@ -17,4 +17,6 @@ MAN3= getline.3
WRKSRC= ${WRKDIR}/getline-39
+INSTALLS_SHLIBS= yes
+
.include <bsd.port.mk>
diff --git a/devel/libgetline/pkg-plist b/devel/libgetline/pkg-plist
index 76ad47fb169a..08bfddd9c3e4 100644
--- a/devel/libgetline/pkg-plist
+++ b/devel/libgetline/pkg-plist
@@ -2,5 +2,3 @@ include/getline.h
lib/libgetline.a
lib/libgetline.so
lib/libgetline.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile
index e92208e1cc83..beba0caedfe6 100644
--- a/devel/libgii/Makefile
+++ b/devel/libgii/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= mwest@uct.ac.za
USE_BZIP2= yes
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
# NOTE: We can not define USE_LIBTOOL for this port to build.
#USE_LIBTOOL= yes
@@ -39,7 +40,6 @@ post-configure:
@${PERL} -p -i.bak -e 's/deplibs -lc/deplibs/;' ${WRKSRC}/libtool
post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@${MAKE} install-examples
.if !defined(NOPORTDOCS)
@${MAKE} install-documents
diff --git a/devel/libgii/pkg-plist b/devel/libgii/pkg-plist
index e24bc61811ac..75147afdc94d 100644
--- a/devel/libgii/pkg-plist
+++ b/devel/libgii/pkg-plist
@@ -39,8 +39,6 @@ lib/libgg.so.0
lib/libgii.la
lib/libgii.so
lib/libgii.so.0
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libgii/ChangeLog
share/doc/libgii/NEWS
share/doc/libgii/README
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile
index fd22a2a12f02..9a2edcd3822b 100644
--- a/devel/libglade/Makefile
+++ b/devel/libglade/Makefile
@@ -21,6 +21,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/devel/libglade/pkg-plist b/devel/libglade/pkg-plist
index fb18b9f9f5b2..0c647dde0c13 100644
--- a/devel/libglade/pkg-plist
+++ b/devel/libglade/pkg-plist
@@ -11,7 +11,5 @@ lib/libglade.so.3
lib/libglade-gnome.a
lib/libglade-gnome.so
lib/libglade-gnome.so.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/libglade.m4
@dirrm include/glade
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index fd22a2a12f02..9a2edcd3822b 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -21,6 +21,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist
index fb18b9f9f5b2..0c647dde0c13 100644
--- a/devel/libglade2/pkg-plist
+++ b/devel/libglade2/pkg-plist
@@ -11,7 +11,5 @@ lib/libglade.so.3
lib/libglade-gnome.a
lib/libglade-gnome.so
lib/libglade-gnome.so.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/libglade.m4
@dirrm include/glade
diff --git a/devel/libgnugetopt/Makefile b/devel/libgnugetopt/Makefile
index 8e41407a36ff..1e5831a45467 100644
--- a/devel/libgnugetopt/Makefile
+++ b/devel/libgnugetopt/Makefile
@@ -12,10 +12,11 @@ MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/obrien/
MAINTAINER= obrien@FreeBSD.org
+INSTALLS_SHLIBS= yes
+
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/libgnugetopt.so.1 ${PREFIX}/lib
@ ${LN} -s ${PREFIX}/lib/libgnugetopt.so.1 ${PREFIX}/lib/libgnugetopt.so
- @ ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/devel/libgnugetopt/pkg-plist b/devel/libgnugetopt/pkg-plist
index bd9b10027074..b7393bdc880f 100644
--- a/devel/libgnugetopt/pkg-plist
+++ b/devel/libgnugetopt/pkg-plist
@@ -1,5 +1,3 @@
include/getopt.h
lib/libgnugetopt.so
lib/libgnugetopt.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index c1fb3638504c..01452d55130d 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -21,6 +21,8 @@ GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
+
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/devel/libgtop/pkg-plist b/devel/libgtop/pkg-plist
index 09ca13e473f6..4fb9e9034f38 100644
--- a/devel/libgtop/pkg-plist
+++ b/devel/libgtop/pkg-plist
@@ -74,8 +74,6 @@ lib/libgtop_sysdeps.so.1
lib/libgtop_sysdeps_suid.a
lib/libgtop_sysdeps_suid.so
lib/libgtop_sysdeps_suid.so.1
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/locale/da/LC_MESSAGES/libgtop.mo
share/locale/de/LC_MESSAGES/libgtop.mo
share/locale/es/LC_MESSAGES/libgtop.mo
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index c1fb3638504c..01452d55130d 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -21,6 +21,8 @@ GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
+
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/devel/libgtop2/pkg-plist b/devel/libgtop2/pkg-plist
index 09ca13e473f6..4fb9e9034f38 100644
--- a/devel/libgtop2/pkg-plist
+++ b/devel/libgtop2/pkg-plist
@@ -74,8 +74,6 @@ lib/libgtop_sysdeps.so.1
lib/libgtop_sysdeps_suid.a
lib/libgtop_sysdeps_suid.so
lib/libgtop_sysdeps_suid.so.1
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/locale/da/LC_MESSAGES/libgtop.mo
share/locale/de/LC_MESSAGES/libgtop.mo
share/locale/es/LC_MESSAGES/libgtop.mo
diff --git a/devel/libmalloc/Makefile b/devel/libmalloc/Makefile
index ebd90204e56d..42a90a235f94 100644
--- a/devel/libmalloc/Makefile
+++ b/devel/libmalloc/Makefile
@@ -14,12 +14,13 @@ DISTNAME= malloc-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
+INSTALLS_SHLIBS= yes
+
.include <bsd.port.pre.mk>
MANUAL_PACKAGE_BUILD= installs malloc.h
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@cd ${PREFIX}/include ; ${LN} -sf malloc.h libmalloc.h
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libmalloc
diff --git a/devel/libmalloc/pkg-plist b/devel/libmalloc/pkg-plist
index ff0c3a31fca9..a00ee945dd3b 100644
--- a/devel/libmalloc/pkg-plist
+++ b/devel/libmalloc/pkg-plist
@@ -4,7 +4,5 @@ include/malloc.h
include/libmalloc.h
lib/libmalloc_d.so
lib/libmalloc_d.so.1.18
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libmalloc/malloc.doc
share/doc/libmalloc/NOTE
diff --git a/devel/libol/Makefile b/devel/libol/Makefile
index ca139f5f8832..ebd7807f6da7 100644
--- a/devel/libol/Makefile
+++ b/devel/libol/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://www.balabit.hu/downloads/libol/0.2/
MAINTAINER= vince@blue-box.net
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
.include <bsd.port.mk>
diff --git a/devel/libol/pkg-plist b/devel/libol/pkg-plist
index c8c387efde81..dd83a7218053 100644
--- a/devel/libol/pkg-plist
+++ b/devel/libol/pkg-plist
@@ -32,6 +32,4 @@ include/libol/xalloc.h
lib/libol.a
lib/libol.so
lib/libol.so.0
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
@dirrm include/libol
diff --git a/devel/libshhmsg/Makefile b/devel/libshhmsg/Makefile
index 97c1bad7eaeb..27a6ba5ccded 100644
--- a/devel/libshhmsg/Makefile
+++ b/devel/libshhmsg/Makefile
@@ -14,9 +14,9 @@ DISTNAME= shhmsg-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/libshhmsg
.for file in CREDITS README shhmsg.txt
diff --git a/devel/libshhmsg/pkg-plist b/devel/libshhmsg/pkg-plist
index 25876160b016..35d7775fda00 100644
--- a/devel/libshhmsg/pkg-plist
+++ b/devel/libshhmsg/pkg-plist
@@ -1,8 +1,6 @@
include/shhmsg.h
lib/libshhmsg.so
lib/libshhmsg.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libshhmsg/CREDITS
share/doc/libshhmsg/README
share/doc/libshhmsg/shhmsg.txt
diff --git a/devel/libshhopt/Makefile b/devel/libshhopt/Makefile
index 81adcde356cf..2b2e137075ca 100644
--- a/devel/libshhopt/Makefile
+++ b/devel/libshhopt/Makefile
@@ -14,9 +14,9 @@ DISTNAME= shhopt-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/libshhopt
@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhopt
diff --git a/devel/libshhopt/pkg-plist b/devel/libshhopt/pkg-plist
index 47d4f187b1ab..ff782f4206ef 100644
--- a/devel/libshhopt/pkg-plist
+++ b/devel/libshhopt/pkg-plist
@@ -1,8 +1,6 @@
include/shhopt.h
lib/libshhopt.so
lib/libshhopt.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libshhopt/CREDITS
share/doc/libshhopt/README
share/examples/libshhopt/Makefile
diff --git a/devel/libsigc++/Makefile b/devel/libsigc++/Makefile
index d0e0a2c4f2ad..50555f962862 100644
--- a/devel/libsigc++/Makefile
+++ b/devel/libsigc++/Makefile
@@ -15,9 +15,9 @@ MAINTAINER= JoeLu@JoeLu.m8.ntu.edu.tw
GNU_CONFIGURE= yes
USE_NEWGCC= yes
+INSTALLS_SHLIBS= yes
post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libsigc++
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsigc++
diff --git a/devel/libsigc++/pkg-plist b/devel/libsigc++/pkg-plist
index ba7b9896776c..98bc5553a046 100644
--- a/devel/libsigc++/pkg-plist
+++ b/devel/libsigc++/pkg-plist
@@ -23,8 +23,6 @@ lib/libsigc.a
lib/libsigc.la
lib/libsigc.so
lib/libsigc.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/sigc++.m4
share/doc/libsigc++/API
share/doc/libsigc++/FAQ
diff --git a/devel/libsigc++12/Makefile b/devel/libsigc++12/Makefile
index d0e0a2c4f2ad..50555f962862 100644
--- a/devel/libsigc++12/Makefile
+++ b/devel/libsigc++12/Makefile
@@ -15,9 +15,9 @@ MAINTAINER= JoeLu@JoeLu.m8.ntu.edu.tw
GNU_CONFIGURE= yes
USE_NEWGCC= yes
+INSTALLS_SHLIBS= yes
post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libsigc++
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsigc++
diff --git a/devel/libsigc++12/pkg-plist b/devel/libsigc++12/pkg-plist
index ba7b9896776c..98bc5553a046 100644
--- a/devel/libsigc++12/pkg-plist
+++ b/devel/libsigc++12/pkg-plist
@@ -23,8 +23,6 @@ lib/libsigc.a
lib/libsigc.la
lib/libsigc.so
lib/libsigc.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/sigc++.m4
share/doc/libsigc++/API
share/doc/libsigc++/FAQ
diff --git a/devel/libsigc++20/Makefile b/devel/libsigc++20/Makefile
index d0e0a2c4f2ad..50555f962862 100644
--- a/devel/libsigc++20/Makefile
+++ b/devel/libsigc++20/Makefile
@@ -15,9 +15,9 @@ MAINTAINER= JoeLu@JoeLu.m8.ntu.edu.tw
GNU_CONFIGURE= yes
USE_NEWGCC= yes
+INSTALLS_SHLIBS= yes
post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libsigc++
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsigc++
diff --git a/devel/libsigc++20/pkg-plist b/devel/libsigc++20/pkg-plist
index ba7b9896776c..98bc5553a046 100644
--- a/devel/libsigc++20/pkg-plist
+++ b/devel/libsigc++20/pkg-plist
@@ -23,8 +23,6 @@ lib/libsigc.a
lib/libsigc.la
lib/libsigc.so
lib/libsigc.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/aclocal/sigc++.m4
share/doc/libsigc++/API
share/doc/libsigc++/FAQ
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 390833b17557..98f040f4d7d2 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -15,12 +15,10 @@ MAINTAINER= xaa+ports@timewasters.nl
USE_BZIP2= yes
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
#WRKSRC= ${WRKDIR}/slang
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/devel/libslang/pkg-plist b/devel/libslang/pkg-plist
index 7ce3c9932f3a..72cb10980036 100644
--- a/devel/libslang/pkg-plist
+++ b/devel/libslang/pkg-plist
@@ -3,8 +3,6 @@ include/slcurses.h
lib/libslang.a
lib/libslang.so
lib/libslang.so.1.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/slang/1.4/COPYING
share/doc/slang/1.4/COPYING.ART
share/doc/slang/1.4/COPYING.GPL
diff --git a/devel/libxalloc/Makefile b/devel/libxalloc/Makefile
index 95e0317060c5..12ac7b884ee4 100644
--- a/devel/libxalloc/Makefile
+++ b/devel/libxalloc/Makefile
@@ -14,9 +14,9 @@ DISTNAME= xalloc-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/libxalloc
@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libxalloc
diff --git a/devel/libxalloc/pkg-plist b/devel/libxalloc/pkg-plist
index 18dc2193836b..4569a087bd4c 100644
--- a/devel/libxalloc/pkg-plist
+++ b/devel/libxalloc/pkg-plist
@@ -1,8 +1,6 @@
include/xalloc.h
lib/libxalloc.so
lib/libxalloc.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libxalloc/CREDITS
share/doc/libxalloc/README
@dirrm share/doc/libxalloc
diff --git a/devel/lwp/Makefile b/devel/lwp/Makefile
index 97813f1131ff..d33952ac070a 100644
--- a/devel/lwp/Makefile
+++ b/devel/lwp/Makefile
@@ -14,5 +14,6 @@ MAINTAINER= coda@cs.cmu.edu
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/devel/lwp/pkg-plist b/devel/lwp/pkg-plist
index 4dbdc76f732e..8ad31bf8e52a 100644
--- a/devel/lwp/pkg-plist
+++ b/devel/lwp/pkg-plist
@@ -5,6 +5,4 @@ include/lwp/timer.h
lib/liblwp.a
lib/liblwp.so
lib/liblwp.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm include/lwp
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index 6f0de917ed96..628a4606b140 100644
--- a/devel/mico/Makefile
+++ b/devel/mico/Makefile
@@ -19,6 +19,7 @@ MICOVER= `${ECHO} ${DISTNAME} | ${SED} 's/mico-//'`
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+INSTALLS_SHLIBS= yes
USE_NEWGCC= yes
.if defined(QT2)
@@ -55,7 +56,6 @@ post-install:
${LN} -sf ${PREFIX}/lib/libmicoqt${MICOVER}.so.1 ${PREFIX}/lib/libmicoqt.${MICOVER}.so
${LN} -sf ${PREFIX}/lib/libmicotcl${MICOVER}.so.1 ${PREFIX}/lib/libmicotcl.${MICOVER}.so
${LN} -sf ${PREFIX}/lib/libmicox${MICOVER}.so.1 ${PREFIX}/lib/libmicox.${MICOVER}.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@strip ${PREFIX}/bin/containmentd
@strip ${PREFIX}/bin/eventd
@strip ${PREFIX}/bin/idl
diff --git a/devel/mico/pkg-plist b/devel/mico/pkg-plist
index fd3015f2e5cd..f227b1dbc6dc 100644
--- a/devel/mico/pkg-plist
+++ b/devel/mico/pkg-plist
@@ -225,8 +225,6 @@ lib/libmicotcl%%MICOVER%%.so.1
lib/libmicox.%%MICOVER%%.so
lib/libmicox%%MICOVER%%.a
lib/libmicox%%MICOVER%%.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
lib/mico-setup.csh
lib/mico-setup.sh
share/doc/mico/examples/MakeVars
diff --git a/devel/mm/Makefile b/devel/mm/Makefile
index 739d16c379c3..780a5731c814 100644
--- a/devel/mm/Makefile
+++ b/devel/mm/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://www.engelschall.com/sw/mm/ \
MAINTAINER= rse@engelschall.com
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
MAN1= mm-config.1
@@ -24,7 +25,4 @@ post-build:
test:
@cd ${WRKSRC} && ${MAKE} test
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/devel/mm/pkg-plist b/devel/mm/pkg-plist
index d812ae893964..5fdfa754b8b1 100644
--- a/devel/mm/pkg-plist
+++ b/devel/mm/pkg-plist
@@ -4,5 +4,3 @@ lib/libmm.a
lib/libmm.la
lib/libmm.so
lib/libmm.so.11
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 16e5841c506d..e230fe15e688 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -25,6 +25,7 @@ BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm \
USE_GMAKE= yes
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
WRKSRC= ${WRKDIR}/newt-0.50
VERSION= 0
MAKE_ENV+= prefix=${PREFIX} VERSION=${VERSION} CC=${CC} PCFLAGS="${CFLAGS}"
diff --git a/devel/newt/pkg-plist b/devel/newt/pkg-plist
index 21322f7620a2..31e2ea9f3bd4 100644
--- a/devel/newt/pkg-plist
+++ b/devel/newt/pkg-plist
@@ -5,6 +5,4 @@ lib/whiptcl.so
lib/libnewt.a
lib/libnewt.so
lib/libnewt.so.%%VERSION%%
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
include/newt.h
diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile
index f6745787ab91..304e2eafc760 100644
--- a/devel/oaf/Makefile
+++ b/devel/oaf/Makefile
@@ -23,6 +23,7 @@ GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--enable-static --enable-shared
diff --git a/devel/oaf/pkg-plist b/devel/oaf/pkg-plist
index 438c3f0ffed5..7e552192069a 100644
--- a/devel/oaf/pkg-plist
+++ b/devel/oaf/pkg-plist
@@ -10,8 +10,6 @@ include/liboaf/oaf.h
lib/liboaf.a
lib/liboaf.so
lib/liboaf.so.0
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/aclocal/oaf.m4
share/gnome/idl/gnome-factory.idl
share/gnome/idl/oaf.idl
diff --git a/devel/omniORB/Makefile b/devel/omniORB/Makefile
index cfb6218320bf..1d57423040f4 100644
--- a/devel/omniORB/Makefile
+++ b/devel/omniORB/Makefile
@@ -18,8 +18,9 @@ MAN1= catior.1 genior.1 nameclt.1 obuildtree.1 ols.1 omake.1 \
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_NEWGCC= YES
-USE_GMAKE= YES
+USE_NEWGCC= yes
+USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
MAKEFILE= GNUmakefile
ALL_TARGET= export
MAKE_ENV= CDEBUGFLAGS="${CFLAGS}" CXXDEBUGFLAGS="${CXXFLAGS}" \
@@ -56,6 +57,5 @@ do-install:
cd ${WRKSRC}/../doc && \
find . |cpio -pdum -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/omniORB
.endif
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/devel/omniORB/pkg-plist b/devel/omniORB/pkg-plist
index f3fdedd74281..09e09ea3c4cb 100644
--- a/devel/omniORB/pkg-plist
+++ b/devel/omniORB/pkg-plist
@@ -52,8 +52,6 @@ lib/libomnithread.so.2.1
lib/libtcpwrapGK.a
lib/libtcpwrapGK.so
lib/libtcpwrapGK.so.1.0
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/omniORB/README.unix
share/doc/omniORB/README.FreeBSD
share/doc/omniORB/ReleaseNote_omniORB_280
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 48ca017e3bf4..c3461fb0f19b 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/editors/calligra/pkg-plist b/editors/calligra/pkg-plist
index 7299e6522a17..3462309e42ed 100644
--- a/editors/calligra/pkg-plist
+++ b/editors/calligra/pkg-plist
@@ -746,5 +746,3 @@ share/servicetypes/kotool.desktop
@dirrm share/apps/kchart
@dirrm share/applnk/Applications/KOffice
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 48ca017e3bf4..c3461fb0f19b 100644
--- a/editors/koffice-kde3/Makefile
+++ b/editors/koffice-kde3/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/editors/koffice-kde3/pkg-plist b/editors/koffice-kde3/pkg-plist
index 7299e6522a17..3462309e42ed 100644
--- a/editors/koffice-kde3/pkg-plist
+++ b/editors/koffice-kde3/pkg-plist
@@ -746,5 +746,3 @@ share/servicetypes/kotool.desktop
@dirrm share/apps/kchart
@dirrm share/applnk/Applications/KOffice
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 48ca017e3bf4..c3461fb0f19b 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/editors/koffice-kde4/pkg-plist b/editors/koffice-kde4/pkg-plist
index 7299e6522a17..3462309e42ed 100644
--- a/editors/koffice-kde4/pkg-plist
+++ b/editors/koffice-kde4/pkg-plist
@@ -746,5 +746,3 @@ share/servicetypes/kotool.desktop
@dirrm share/apps/kchart
@dirrm share/applnk/Applications/KOffice
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/editors/koffice/Makefile b/editors/koffice/Makefile
index 48ca017e3bf4..c3461fb0f19b 100644
--- a/editors/koffice/Makefile
+++ b/editors/koffice/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/editors/koffice/pkg-plist b/editors/koffice/pkg-plist
index 7299e6522a17..3462309e42ed 100644
--- a/editors/koffice/pkg-plist
+++ b/editors/koffice/pkg-plist
@@ -746,5 +746,3 @@ share/servicetypes/kotool.desktop
@dirrm share/apps/kchart
@dirrm share/applnk/Applications/KOffice
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index beb48c00d558..e82700dcd015 100644
--- a/ftp/ncftp3/Makefile
+++ b/ftp/ncftp3/Makefile
@@ -15,6 +15,7 @@ DISTNAME= ncftp-${PORTVERSION}-src
MAINTAINER= obrien@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ncurses
MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
@@ -41,7 +42,6 @@ do-install:
@cd ${PREFIX}/lib && ${LN} -sf ${LIBSTRN} libStrn.so
@${INSTALL_DATA} ${WRKSRC}/libncftp/libncftp.so.2 ${PREFIX}/lib/${LIBNCFTP}
@cd ${PREFIX}/lib && ${LN} -sf ${LIBNCFTP} libncftp.so
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@${INSTALL_MAN} ${WRKSRC}/doc/man/ncftp.1 ${PREFIX}/man/man1/ncftp3.1
@cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} \
ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 \
diff --git a/ftp/ncftp3/pkg-plist b/ftp/ncftp3/pkg-plist
index 005cb26a3a82..85423e920282 100644
--- a/ftp/ncftp3/pkg-plist
+++ b/ftp/ncftp3/pkg-plist
@@ -2,8 +2,6 @@ lib/libStrn.so
lib/libStrn.so.1
lib/libncftp.so
lib/libncftp.so.2
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
bin/ncftp3
bin/ncftpbatch
bin/ncftpget
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile
index 80476dda17d6..37e6baf1458f 100644
--- a/games/libshhcards/Makefile
+++ b/games/libshhcards/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_GMAKE= yes
USE_X_PREFIX= yes
+INSTALLS_SHLIBS= yes
SOLIB= libshhcards.so
.include <bsd.port.pre.mk>
@@ -34,7 +35,6 @@ do-install:
@ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/${SOLIB}.${SOVERSION} ${PREFIX}/lib
@ ${LN} -sf ${SOLIB}.${SOVERSION} ${PREFIX}/lib/${SOLIB}
- @ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
post-install:
.if !defined(NOPORTDOCS)
diff --git a/games/libshhcards/pkg-plist b/games/libshhcards/pkg-plist
index 5fa11cc63ff7..c82eff08934c 100644
--- a/games/libshhcards/pkg-plist
+++ b/games/libshhcards/pkg-plist
@@ -1,8 +1,6 @@
include/shhcards.h
lib/libshhcards.so
lib/libshhcards.so.1.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
share/doc/libshhcards/CREDITS
share/doc/libshhcards/README
@dirrm share/doc/libshhcards
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index a4fba8207e4a..c42ed77cf5bb 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://www.djvu.com/open/
MAINTAINER= mi@aldan.algebra.com
+INSTALLS_SHLIBS= yes
IS_INTERACTIVE= yes
USE_NEWGCC= yes
HAS_CONFIGURE= yes
@@ -30,7 +31,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${lib} ${PREFIX}/lib
.endfor
${LN} -sf libdjvu++.so.2 ${PREFIX}/lib/libdjvu++.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/djvu
${INSTALL_DATA} ${WRKSRC}/@Doc/* ${PREFIX}/share/doc/djvu
diff --git a/graphics/djvulibre/pkg-plist b/graphics/djvulibre/pkg-plist
index a04a99c5d242..2a3a0c5eb8a6 100644
--- a/graphics/djvulibre/pkg-plist
+++ b/graphics/djvulibre/pkg-plist
@@ -9,8 +9,6 @@ bin/bzz
lib/libdjvu++.a
lib/libdjvu++.so
lib/libdjvu++.so.2
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/doc/djvu/ATTLicense.h.html
share/doc/djvu/ATTLicense.html
share/doc/djvu/ATTSourceCodeAgreement.html
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 16c29a08e4c1..36787d9a0fd1 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -23,6 +23,7 @@ MAINTAINER= ports@FreeBSD.org
USE_XLIB= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
DOCDIR= ${PREFIX}/share/doc/libungif
diff --git a/graphics/giflib/pkg-plist b/graphics/giflib/pkg-plist
index 3c166614bdf6..fe2a9a7627b7 100644
--- a/graphics/giflib/pkg-plist
+++ b/graphics/giflib/pkg-plist
@@ -31,8 +31,6 @@ include/gif_lib.h
lib/libungif.a
lib/libungif.so
lib/libungif.so.5
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libungif/GifFileType.png
share/doc/libungif/UNCOMPRESSED_GIF
share/doc/libungif/gif2bgi.html
diff --git a/graphics/jbigkit/Makefile b/graphics/jbigkit/Makefile
index beeaddb4f8eb..de0ddcd9823c 100644
--- a/graphics/jbigkit/Makefile
+++ b/graphics/jbigkit/Makefile
@@ -13,6 +13,9 @@ MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/
MAINTAINER= mi@aldan.algebra.com
WRKSRC= ${WRKDIR}/${PORTNAME}
+
+INSTALLS_SHLIBS= yes
+
MAN1= jbgtopbm.1 pbmtojbg.1
post-install:
@@ -20,7 +23,6 @@ post-install:
${MKDIR} ${PREFIX}/share/doc/jbig
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig
.endif
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
test: build
cd ${WRKSRC} && env LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test
diff --git a/graphics/jbigkit/pkg-plist b/graphics/jbigkit/pkg-plist
index 9af6840e12cd..b9516ff1053b 100644
--- a/graphics/jbigkit/pkg-plist
+++ b/graphics/jbigkit/pkg-plist
@@ -4,7 +4,5 @@ include/jbig.h
lib/libjbig.a
lib/libjbig.so
lib/libjbig.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/jbig/jbig.doc
@dirrm share/doc/jbig
diff --git a/graphics/jpeg-mmx/Makefile b/graphics/jpeg-mmx/Makefile
index 5517454da680..c39f68aa20be 100644
--- a/graphics/jpeg-mmx/Makefile
+++ b/graphics/jpeg-mmx/Makefile
@@ -16,13 +16,13 @@ DISTNAME= jpegsrc.v${PORTVERSION}
MAINTAINER= jseger@FreeBSD.org
WRKSRC= ${WRKDIR}/jpeg-6b
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-static
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
USE_LIBTOOL= yes
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jpeg
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg
diff --git a/graphics/jpeg-mmx/pkg-plist b/graphics/jpeg-mmx/pkg-plist
index 254f03b44a3d..558fd8902e1c 100644
--- a/graphics/jpeg-mmx/pkg-plist
+++ b/graphics/jpeg-mmx/pkg-plist
@@ -20,6 +20,4 @@ lib/libjpeg.a
lib/libjpeg.la
lib/libjpeg.so
lib/libjpeg.so.9
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm share/doc/jpeg
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index 5517454da680..c39f68aa20be 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -16,13 +16,13 @@ DISTNAME= jpegsrc.v${PORTVERSION}
MAINTAINER= jseger@FreeBSD.org
WRKSRC= ${WRKDIR}/jpeg-6b
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-static
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
USE_LIBTOOL= yes
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jpeg
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg
diff --git a/graphics/jpeg/pkg-plist b/graphics/jpeg/pkg-plist
index 254f03b44a3d..558fd8902e1c 100644
--- a/graphics/jpeg/pkg-plist
+++ b/graphics/jpeg/pkg-plist
@@ -20,6 +20,4 @@ lib/libjpeg.a
lib/libjpeg.la
lib/libjpeg.so
lib/libjpeg.so.9
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm share/doc/jpeg
diff --git a/graphics/lfview/Makefile b/graphics/lfview/Makefile
index ce78957848cd..75f20bb4e04f 100644
--- a/graphics/lfview/Makefile
+++ b/graphics/lfview/Makefile
@@ -15,6 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= s974123@cc.matsuyama-u.ac.jp
USE_IMAKE= yes
+INSTALLS_SHLIBS= yes
NO_INSTALL_MANPAGES= yes
do-install:
@@ -26,7 +27,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/lfview
.endif
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/graphics/lfview/pkg-plist b/graphics/lfview/pkg-plist
index 699e0036e4fa..950119c2f792 100644
--- a/graphics/lfview/pkg-plist
+++ b/graphics/lfview/pkg-plist
@@ -3,5 +3,3 @@ share/doc/ja/lfview/README
@dirrm share/doc/ja/lfview
lib/liblfv_leaf.so.1
lib/liblfv_leaf.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/graphics/libdjvu++/Makefile b/graphics/libdjvu++/Makefile
index a4fba8207e4a..c42ed77cf5bb 100644
--- a/graphics/libdjvu++/Makefile
+++ b/graphics/libdjvu++/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://www.djvu.com/open/
MAINTAINER= mi@aldan.algebra.com
+INSTALLS_SHLIBS= yes
IS_INTERACTIVE= yes
USE_NEWGCC= yes
HAS_CONFIGURE= yes
@@ -30,7 +31,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${lib} ${PREFIX}/lib
.endfor
${LN} -sf libdjvu++.so.2 ${PREFIX}/lib/libdjvu++.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/djvu
${INSTALL_DATA} ${WRKSRC}/@Doc/* ${PREFIX}/share/doc/djvu
diff --git a/graphics/libdjvu++/pkg-plist b/graphics/libdjvu++/pkg-plist
index a04a99c5d242..2a3a0c5eb8a6 100644
--- a/graphics/libdjvu++/pkg-plist
+++ b/graphics/libdjvu++/pkg-plist
@@ -9,8 +9,6 @@ bin/bzz
lib/libdjvu++.a
lib/libdjvu++.so
lib/libdjvu++.so.2
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/doc/djvu/ATTLicense.h.html
share/doc/djvu/ATTLicense.html
share/doc/djvu/ATTSourceCodeAgreement.html
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index 01e0404a91a0..32c9126d0e44 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS= gii.0:${PORTSDIR}/devel/libgii
USE_BZIP2= yes
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gii=${PREFIX}
@@ -49,7 +50,4 @@ MAN3= ggiAddFlags.3ggi ggiCheckGraphMode.3ggi ggiCheckMode.3ggi \
MAN6= cube3d.6
MAN7= libggi.7ggi
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist
index 51b8babd44cb..d51e293fd1b8 100644
--- a/graphics/libggi/pkg-plist
+++ b/graphics/libggi/pkg-plist
@@ -101,8 +101,6 @@ lib/libggi.so.2
lib/libggimisc.la
lib/libggimisc.so
lib/libggimisc.so.2
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm include/ggi/display
@dirrm lib/ggi/default
@dirrm lib/ggi/display
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
index 3c5348f89f89..0e07ef1fe6f5 100644
--- a/graphics/libimg/Makefile
+++ b/graphics/libimg/Makefile
@@ -22,6 +22,7 @@ WRKSRC= ${WRKDIR}/img1.2.2
ALL_TARGET= default
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tk=${PREFIX}/lib/tk8.2 \
--disable-stubs
diff --git a/graphics/libimg/pkg-plist b/graphics/libimg/pkg-plist
index 95f1b27510c4..5e6dbbdf454f 100644
--- a/graphics/libimg/pkg-plist
+++ b/graphics/libimg/pkg-plist
@@ -2,6 +2,4 @@ lib/Img1.2/pkgIndex.tcl
lib/Img1.2/libimg82.so.1
lib/libimg.so.1
lib/libimg.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm lib/Img1.2
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index 16c29a08e4c1..36787d9a0fd1 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/Makefile
@@ -23,6 +23,7 @@ MAINTAINER= ports@FreeBSD.org
USE_XLIB= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
DOCDIR= ${PREFIX}/share/doc/libungif
diff --git a/graphics/libungif/pkg-plist b/graphics/libungif/pkg-plist
index 3c166614bdf6..fe2a9a7627b7 100644
--- a/graphics/libungif/pkg-plist
+++ b/graphics/libungif/pkg-plist
@@ -31,8 +31,6 @@ include/gif_lib.h
lib/libungif.a
lib/libungif.so
lib/libungif.so.5
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libungif/GifFileType.png
share/doc/libungif/UNCOMPRESSED_GIF
share/doc/libungif/gif2bgi.html
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 0e0cb56e0627..a4fcbd5f1a98 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -19,12 +19,10 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype \
-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}"/lib
-post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/graphics/libwmf/pkg-plist b/graphics/libwmf/pkg-plist
index ed53e4897a79..d81a86eb3c45 100644
--- a/graphics/libwmf/pkg-plist
+++ b/graphics/libwmf/pkg-plist
@@ -35,6 +35,4 @@ lib/libxfwmf.so.1
lib/libxgd.a
lib/libxgd.so
lib/libxgd.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
@dirrm include/xgd
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile
index 04759e12f42d..bcf55d651db2 100644
--- a/graphics/mpeg-lib/Makefile
+++ b/graphics/mpeg-lib/Makefile
@@ -13,10 +13,8 @@ MASTER_SITES= ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/ \
MAINTAINER= ports@FreeBSD.org
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/graphics/mpeg-lib/pkg-plist b/graphics/mpeg-lib/pkg-plist
index ad1a50a18149..40ef69a86d2d 100644
--- a/graphics/mpeg-lib/pkg-plist
+++ b/graphics/mpeg-lib/pkg-plist
@@ -2,5 +2,3 @@ include/mpeg.h
lib/libmpeg.a
lib/libmpeg.so
lib/libmpeg.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 5cea854cbe5f..dfb57d9e0589 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
png.3:${PORTSDIR}/graphics/png
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
MAKEFILE= GNUmakefile
ALL_TARGET= merge
INSTALL_TARGET= install-merge install-dev
@@ -30,7 +31,4 @@ INSTALL_TARGET= install-merge install-dev
post-patch:
@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/pbmplus.h
-post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.post.mk>
diff --git a/graphics/netpbm/pkg-plist b/graphics/netpbm/pkg-plist
index 0a210fc21ca2..4fb0192559f6 100644
--- a/graphics/netpbm/pkg-plist
+++ b/graphics/netpbm/pkg-plist
@@ -223,5 +223,3 @@ lib/libpnm.so.1
lib/libppm.a
lib/libppm.so
lib/libppm.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/java/kaffe/Makefile b/java/kaffe/Makefile
index ab3b70fa9ebf..c1d7d6b18b64 100644
--- a/java/kaffe/Makefile
+++ b/java/kaffe/Makefile
@@ -17,6 +17,8 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.3:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
+
MAN1= kaffe.1
post-install:
diff --git a/java/kaffe/pkg-plist b/java/kaffe/pkg-plist
index 99cdfcc3438f..a3cb16c1e02f 100644
--- a/java/kaffe/pkg-plist
+++ b/java/kaffe/pkg-plist
@@ -58,8 +58,6 @@ lib/kaffe/security/java.security
lib/libkaffevm-1.0.5.so
lib/libkaffevm.la
lib/libkaffevm.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
libexec/Kaffe
share/kaffe/BUILD_ENVIRONMENT
share/kaffe/Klasses.jar
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index f4398dd2d537..8bdf851bbcee 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -20,6 +20,7 @@ PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} VERSION=${PORTVERSION}
USE_NEWGCC= yes
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl"
diff --git a/lang/librep/pkg-plist b/lang/librep/pkg-plist
index 20f3eaba9279..d1be8d15c782 100644
--- a/lang/librep/pkg-plist
+++ b/lang/librep/pkg-plist
@@ -20,8 +20,6 @@ info/librep.info-7
lib/librep.la
lib/librep.so
lib/librep.so.8
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
libexec/rep/%%VERSION%%/%%GNUHOST%%/datums.la
libexec/rep/%%VERSION%%/%%GNUHOST%%/datums.so
libexec/rep/%%VERSION%%/%%GNUHOST%%/gdbm.la
diff --git a/lang/librep2/Makefile b/lang/librep2/Makefile
index f4398dd2d537..8bdf851bbcee 100644
--- a/lang/librep2/Makefile
+++ b/lang/librep2/Makefile
@@ -20,6 +20,7 @@ PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} VERSION=${PORTVERSION}
USE_NEWGCC= yes
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl"
diff --git a/lang/librep2/pkg-plist b/lang/librep2/pkg-plist
index 20f3eaba9279..d1be8d15c782 100644
--- a/lang/librep2/pkg-plist
+++ b/lang/librep2/pkg-plist
@@ -20,8 +20,6 @@ info/librep.info-7
lib/librep.la
lib/librep.so
lib/librep.so.8
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
libexec/rep/%%VERSION%%/%%GNUHOST%%/datums.la
libexec/rep/%%VERSION%%/%%GNUHOST%%/datums.so
libexec/rep/%%VERSION%%/%%GNUHOST%%/gdbm.la
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index 19e61b6b596d..704e4fa52af2 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= obonilla@fisicc-ufm.edu
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
USE_AUTOCONF= yes
@@ -22,7 +23,6 @@ PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh
post-install:
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
strip ${PREFIX}/bin/otclsh
strip ${PREFIX}/bin/owish
.if exists(${PKGINSTALL})
diff --git a/lang/otcl/pkg-plist b/lang/otcl/pkg-plist
index 5cf826daa007..379b07d0a114 100644
--- a/lang/otcl/pkg-plist
+++ b/lang/otcl/pkg-plist
@@ -4,5 +4,3 @@ include/otcl.h
lib/libotcl.a
lib/libotcl.so
lib/libotcl.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/mail/mh/Makefile b/mail/mh/Makefile
index fac8451cda3d..54355c6d2bf7 100644
--- a/mail/mh/Makefile
+++ b/mail/mh/Makefile
@@ -19,6 +19,8 @@ MAINTAINER= pst@FreeBSD.org
FORBIDDEN= "Buffer overflow in MIME parsing code, exploitable via email. Since mh is no longer actively developed, this bug may not get fixed - consider using the nmh port in ${PORTSDIR}/mail/nmh, which is the successor to mh"
+INSTALLS_SHLIBS= yes
+
MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 mark.1 \
mh-chart.1 mh.1 mhl.1 mhook.1 mhmail.1 mhn.1 mhparam.1 mhpath.1 \
msgchk.1 msh.1 next.1 packf.1 pick.1 prev.1 prompter.1 rcvstore.1 \
@@ -27,7 +29,4 @@ MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 mark.1 \
MAN5= mh-alias.5 mh-format.5 mh-mail.5 mh-profile.5 mh-sequence.5 mh-tailor.5
MAN8= ap.8 conflict.8 dp.8 install-mh.8 post.8 fmtdump.8
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/mail/mh/pkg-plist b/mail/mh/pkg-plist
index 2cbd3685bfbd..b16d3db1d7d1 100644
--- a/mail/mh/pkg-plist
+++ b/mail/mh/pkg-plist
@@ -73,7 +73,5 @@ lib/mh/tmac.h
lib/mh/viamail
lib/libmh.so
lib/libmh.so.3.2
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
libexec/popd
@dirrm lib/mh
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/math/kcalc/pkg-plist b/math/kcalc/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/math/kcalc/pkg-plist
+++ b/math/kcalc/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index 06cad2bc05c1..8b828e03ae75 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -16,6 +16,8 @@ MAINTAINER= jmz@FreeBSD.org
DIST_SUBDIR= lapack
+INSTALLS_SHLIBS= yes
+
MANCOMPRESSED= maybe
MANL= cbdsqr.l cgbbrd.l cgbcon.l cgbequ.l cgbmv.l cgbrfs.l cgbsv.l cgbsvx.l \
cgbtf2.l cgbtrf.l cgbtrs.l cgebak.l cgebal.l cgebd2.l cgebrd.l \
@@ -219,7 +221,6 @@ do-install:
${LN} -sf libblas.so.2.0 ${PREFIX}/lib/libblas.so
${LN} -sf liblapack.so.3.0 ${PREFIX}/lib/liblapack.so
.endif
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
${INSTALL_MAN} ${WRKDIR}/blas/man/manl/*.l ${PREFIX}/man/manl
${INSTALL_MAN} ${WRKDIR}/man/manl/[a-c]*.l ${PREFIX}/man/manl
${INSTALL_MAN} ${WRKDIR}/man/manl/[d-l]*.l ${PREFIX}/man/manl
diff --git a/math/lapack/pkg-plist b/math/lapack/pkg-plist
index 8bb1e8e99312..144915e86cc3 100644
--- a/math/lapack/pkg-plist
+++ b/math/lapack/pkg-plist
@@ -4,5 +4,3 @@ lib/libblas.so.2
lib/liblapack.a
lib/liblapack.so
lib/liblapack.so.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/math/librandlib/Makefile b/math/librandlib/Makefile
index c7c8394870f4..484aacbc9c92 100644
--- a/math/librandlib/Makefile
+++ b/math/librandlib/Makefile
@@ -13,6 +13,7 @@ DISTNAME= ranlib.c
MAINTAINER= tg@FreeBSD.org
+INSTALLS_SHLIBS= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -29,6 +30,5 @@ post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
.endif
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
diff --git a/math/librandlib/pkg-plist b/math/librandlib/pkg-plist
index e900c337202b..f59969270e13 100644
--- a/math/librandlib/pkg-plist
+++ b/math/librandlib/pkg-plist
@@ -2,8 +2,6 @@ include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile
index c7c8394870f4..484aacbc9c92 100644
--- a/math/libranlib/Makefile
+++ b/math/libranlib/Makefile
@@ -13,6 +13,7 @@ DISTNAME= ranlib.c
MAINTAINER= tg@FreeBSD.org
+INSTALLS_SHLIBS= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -29,6 +30,5 @@ post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
.endif
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
diff --git a/math/libranlib/pkg-plist b/math/libranlib/pkg-plist
index e900c337202b..f59969270e13 100644
--- a/math/libranlib/pkg-plist
+++ b/math/libranlib/pkg-plist
@@ -2,8 +2,6 @@ include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index 7b570b12eede..9c5d1fd3fcb1 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
+INSTALLS_SHLIBS= yes
DIST_SUBDIR= ${PORTNAME}
NO_WRKSUBDIR= yes
@@ -53,7 +54,4 @@ do-extract:
pre-build:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
-post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/math/linpack/pkg-plist b/math/linpack/pkg-plist
index 0b1f096b2bfc..ac13a937827e 100644
--- a/math/linpack/pkg-plist
+++ b/math/linpack/pkg-plist
@@ -1,5 +1,3 @@
lib/liblinpack.a
lib/liblinpack.so
lib/liblinpack.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/math/netcdf/Makefile b/math/netcdf/Makefile
index 17e5215399c9..a51c997f5191 100644
--- a/math/netcdf/Makefile
+++ b/math/netcdf/Makefile
@@ -14,6 +14,7 @@ DISTFILES= ${PORTNAME}-3.5-beta3.tar.Z
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-3.5-beta3/src
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
@@ -31,6 +32,5 @@ post-install:
${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so
${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1
${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so
- ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/math/netcdf/pkg-plist b/math/netcdf/pkg-plist
index 699a8184c49b..a400eb5e9148 100644
--- a/math/netcdf/pkg-plist
+++ b/math/netcdf/pkg-plist
@@ -10,5 +10,3 @@ lib/libnetcdf.so.1
lib/libnetcdf_c++.a
lib/libnetcdf_c++.so
lib/libnetcdf_c++.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 7f5bdd608e26..5e84e537898b 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -15,7 +15,8 @@ MAINTAINER= yoshiaki@kt.rim.or.jp
ONLY_FOR_ARCHS= i386
-HAS_CONFIGURE = Yes
+INSTALLS_SHLIBS= yes
+HAS_CONFIGURE = yes
CONFIGURE_SCRIPT = Configure
CONFIGURE_ARGS = --prefix=${PREFIX}
CFLAGS=
@@ -31,7 +32,4 @@ HAVE_EMACS!= which emacs || echo nope
PLIST= ${PKGDIR}/PLIST.emacs
.endif
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index 37dc559603eb..2a07cf0412b9 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -17,8 +17,6 @@ include/pari/paritype.h
lib/libpari.so
lib/libpari.so.2
lib/libpari.so.2.0.18
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /bin/mkdir -p %D/lib/pari/data
lib/pari/Makefile
lib/pari/paricfg.tex
diff --git a/math/pari/pkg-plist.emacs b/math/pari/pkg-plist.emacs
index acbe693f0e27..0f7dc3fc84a6 100644
--- a/math/pari/pkg-plist.emacs
+++ b/math/pari/pkg-plist.emacs
@@ -17,8 +17,6 @@ include/pari/paritype.h
lib/libpari.so
lib/libpari.so.2
lib/libpari.so.2.0.18
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /bin/mkdir -p %D/lib/pari/data
lib/pari/Makefile
lib/pari/pari-translator.el
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index c7c8394870f4..484aacbc9c92 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/Makefile
@@ -13,6 +13,7 @@ DISTNAME= ranlib.c
MAINTAINER= tg@FreeBSD.org
+INSTALLS_SHLIBS= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -29,6 +30,5 @@ post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
.endif
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
diff --git a/math/randlib/pkg-plist b/math/randlib/pkg-plist
index e900c337202b..f59969270e13 100644
--- a/math/randlib/pkg-plist
+++ b/math/randlib/pkg-plist
@@ -2,8 +2,6 @@ include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
diff --git a/misc/kdeutils2/Makefile b/misc/kdeutils2/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/misc/kdeutils2/Makefile
+++ b/misc/kdeutils2/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/misc/kdeutils2/pkg-plist b/misc/kdeutils2/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/misc/kdeutils2/pkg-plist
+++ b/misc/kdeutils2/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/misc/kdeutils3/Makefile
+++ b/misc/kdeutils3/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/misc/kdeutils3/pkg-plist b/misc/kdeutils3/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/misc/kdeutils3/pkg-plist
+++ b/misc/kdeutils3/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/misc/kdeutils4/Makefile
+++ b/misc/kdeutils4/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/misc/kdeutils4/pkg-plist b/misc/kdeutils4/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/misc/kdeutils4/pkg-plist
+++ b/misc/kdeutils4/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/net-im/libicq/Makefile b/net-im/libicq/Makefile
index 8e6d1b548109..3312cdf5b086 100644
--- a/net-im/libicq/Makefile
+++ b/net-im/libicq/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}"
.include <bsd.port.mk>
diff --git a/net-im/libicq/pkg-plist b/net-im/libicq/pkg-plist
index c717b5fc0c3c..c5b2f94bc6bd 100644
--- a/net-im/libicq/pkg-plist
+++ b/net-im/libicq/pkg-plist
@@ -2,5 +2,3 @@ include/libicq.h
lib/libicq.a
lib/libicq.so
lib/libicq.so.0.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/net-mgmt/libsmi/Makefile b/net-mgmt/libsmi/Makefile
index c176ccf46e69..deae458eb8d8 100644
--- a/net-mgmt/libsmi/Makefile
+++ b/net-mgmt/libsmi/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= saper@system.pl
#USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
USE_GMAKE= yes
MIBDIR= ${PREFIX}/share/smi/mibs
CONFIGURE_ARGS+=--with-data-dir=${PREFIX}/share/smi \
diff --git a/net-mgmt/libsmi/pkg-plist b/net-mgmt/libsmi/pkg-plist
index 8817c513a217..0bac6bca9a19 100644
--- a/net-mgmt/libsmi/pkg-plist
+++ b/net-mgmt/libsmi/pkg-plist
@@ -7,8 +7,6 @@ lib/libsmi.a
lib/libsmi.la
lib/libsmi.so
lib/libsmi.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/smi/mibs/iana/IANA-ADDRESS-FAMILY-NUMBERS-MIB
share/smi/mibs/iana/IANA-LANGUAGE-MIB
share/smi/mibs/iana/IANATn3270eTC-MIB
diff --git a/net/kdenetwork2/Makefile b/net/kdenetwork2/Makefile
index 0cd0814e71e3..843dd5fd9635 100644
--- a/net/kdenetwork2/Makefile
+++ b/net/kdenetwork2/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= uu.1:${PORTSDIR}/converters/uulib \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/net/kdenetwork2/pkg-plist b/net/kdenetwork2/pkg-plist
index b30ea8aa6220..f37e3bd89af1 100644
--- a/net/kdenetwork2/pkg-plist
+++ b/net/kdenetwork2/pkg-plist
@@ -626,5 +626,3 @@ share/icons/locolor/32x32/apps/kppp.png
@dirrm share/apps/kmail
@dirrm share/apps/kbiff/pics
@dirrm share/apps/kbiff
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile
index 0cd0814e71e3..843dd5fd9635 100644
--- a/net/kdenetwork3/Makefile
+++ b/net/kdenetwork3/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= uu.1:${PORTSDIR}/converters/uulib \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/net/kdenetwork3/pkg-plist b/net/kdenetwork3/pkg-plist
index b30ea8aa6220..f37e3bd89af1 100644
--- a/net/kdenetwork3/pkg-plist
+++ b/net/kdenetwork3/pkg-plist
@@ -626,5 +626,3 @@ share/icons/locolor/32x32/apps/kppp.png
@dirrm share/apps/kmail
@dirrm share/apps/kbiff/pics
@dirrm share/apps/kbiff
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index 0cd0814e71e3..843dd5fd9635 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= uu.1:${PORTSDIR}/converters/uulib \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/net/kdenetwork4/pkg-plist b/net/kdenetwork4/pkg-plist
index b30ea8aa6220..f37e3bd89af1 100644
--- a/net/kdenetwork4/pkg-plist
+++ b/net/kdenetwork4/pkg-plist
@@ -626,5 +626,3 @@ share/icons/locolor/32x32/apps/kppp.png
@dirrm share/apps/kmail
@dirrm share/apps/kbiff/pics
@dirrm share/apps/kbiff
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/net/libetherx/Makefile b/net/libetherx/Makefile
index ebde350d50db..c676365a38ba 100644
--- a/net/libetherx/Makefile
+++ b/net/libetherx/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= jabber.1:${PORTSDIR}/net/libjabber \
adns.0:${PORTSDIR}/net/adns
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
MAN1= etherx-config.1
diff --git a/net/libetherx/pkg-plist b/net/libetherx/pkg-plist
index 934b00223ab9..3ad8048c28ff 100644
--- a/net/libetherx/pkg-plist
+++ b/net/libetherx/pkg-plist
@@ -3,5 +3,3 @@ include/etherx.h
lib/libetherx.a
lib/libetherx.so
lib/libetherx.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/net/libicq/Makefile b/net/libicq/Makefile
index 8e6d1b548109..3312cdf5b086 100644
--- a/net/libicq/Makefile
+++ b/net/libicq/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}"
.include <bsd.port.mk>
diff --git a/net/libicq/pkg-plist b/net/libicq/pkg-plist
index c717b5fc0c3c..c5b2f94bc6bd 100644
--- a/net/libicq/pkg-plist
+++ b/net/libicq/pkg-plist
@@ -2,5 +2,3 @@ include/libicq.h
lib/libicq.a
lib/libicq.so
lib/libicq.so.0.3
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/net/libjabber/Makefile b/net/libjabber/Makefile
index 108ec4c86280..8090ea7b30de 100644
--- a/net/libjabber/Makefile
+++ b/net/libjabber/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= lukin@okbmei.msk.su
LIB_DEPENDS= xode.1:${PORTSDIR}/textproc/libxode
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
MAN1= jabber-config.1
diff --git a/net/libjabber/pkg-plist b/net/libjabber/pkg-plist
index 981a3b52ba72..6cd24f7bb100 100644
--- a/net/libjabber/pkg-plist
+++ b/net/libjabber/pkg-plist
@@ -3,6 +3,4 @@ include/jabber/jabber.h
lib/libjabber.a
lib/libjabber.so
lib/libjabber.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
@dirrm include/jabber
diff --git a/net/libsmi/Makefile b/net/libsmi/Makefile
index c176ccf46e69..deae458eb8d8 100644
--- a/net/libsmi/Makefile
+++ b/net/libsmi/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= saper@system.pl
#USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
USE_GMAKE= yes
MIBDIR= ${PREFIX}/share/smi/mibs
CONFIGURE_ARGS+=--with-data-dir=${PREFIX}/share/smi \
diff --git a/net/libsmi/pkg-plist b/net/libsmi/pkg-plist
index 8817c513a217..0bac6bca9a19 100644
--- a/net/libsmi/pkg-plist
+++ b/net/libsmi/pkg-plist
@@ -7,8 +7,6 @@ lib/libsmi.a
lib/libsmi.la
lib/libsmi.so
lib/libsmi.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/smi/mibs/iana/IANA-ADDRESS-FAMILY-NUMBERS-MIB
share/smi/mibs/iana/IANA-LANGUAGE-MIB
share/smi/mibs/iana/IANATn3270eTC-MIB
diff --git a/net/libsocket++/Makefile b/net/libsocket++/Makefile
index c627e5b22de2..a4da06fa380e 100644
--- a/net/libsocket++/Makefile
+++ b/net/libsocket++/Makefile
@@ -18,13 +18,13 @@ DISTNAME= socket++-1.10
MAINTAINER= narvi@haldjas.folklore.ee
GNU_CONFIGURE= yes
+INSTALLS_SHLIBS= yes
NOPROFILE= true
post-configure:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libsocket++
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++
diff --git a/net/libsocket++/pkg-plist b/net/libsocket++/pkg-plist
index 2deae38d5ed5..3df125d44060 100644
--- a/net/libsocket++/pkg-plist
+++ b/net/libsocket++/pkg-plist
@@ -2,8 +2,6 @@ lib/libsocket++.a
lib/libsocket++_p.a
lib/libsocket++.so.1.10
lib/libsocket++.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
include/Fork.h
include/echo.h
include/ftp.h
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index 9449e0b3bc6c..eb58b1208296 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
FETCH_BEFORE_ARGS= -b
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl5=${PERL} \
--with-tiff=${PREFIX} \
@@ -27,7 +28,6 @@ CONFIGURE_ARGS= --with-perl5=${PERL} \
do-install:
${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pdflib
diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist
index 93db2111b09d..f78afa5e0824 100644
--- a/print/pdflib/pkg-plist
+++ b/print/pdflib/pkg-plist
@@ -7,5 +7,3 @@ share/doc/pdflib/compatibility.txt
share/doc/pdflib/install.txt
share/doc/pdflib/license.pdf
@dirrm share/doc/pdflib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/print/pdflib3/Makefile b/print/pdflib3/Makefile
index 9449e0b3bc6c..eb58b1208296 100644
--- a/print/pdflib3/Makefile
+++ b/print/pdflib3/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
FETCH_BEFORE_ARGS= -b
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl5=${PERL} \
--with-tiff=${PREFIX} \
@@ -27,7 +28,6 @@ CONFIGURE_ARGS= --with-perl5=${PERL} \
do-install:
${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pdflib
diff --git a/print/pdflib3/pkg-plist b/print/pdflib3/pkg-plist
index 93db2111b09d..f78afa5e0824 100644
--- a/print/pdflib3/pkg-plist
+++ b/print/pdflib3/pkg-plist
@@ -7,5 +7,3 @@ share/doc/pdflib/compatibility.txt
share/doc/pdflib/install.txt
share/doc/pdflib/license.pdf
@dirrm share/doc/pdflib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/print/pdflib4/Makefile b/print/pdflib4/Makefile
index 9449e0b3bc6c..eb58b1208296 100644
--- a/print/pdflib4/Makefile
+++ b/print/pdflib4/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
FETCH_BEFORE_ARGS= -b
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl5=${PERL} \
--with-tiff=${PREFIX} \
@@ -27,7 +28,6 @@ CONFIGURE_ARGS= --with-perl5=${PERL} \
do-install:
${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pdflib
diff --git a/print/pdflib4/pkg-plist b/print/pdflib4/pkg-plist
index 93db2111b09d..f78afa5e0824 100644
--- a/print/pdflib4/pkg-plist
+++ b/print/pdflib4/pkg-plist
@@ -7,5 +7,3 @@ share/doc/pdflib/compatibility.txt
share/doc/pdflib/install.txt
share/doc/pdflib/license.pdf
@dirrm share/doc/pdflib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index 17e5215399c9..a51c997f5191 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -14,6 +14,7 @@ DISTFILES= ${PORTNAME}-3.5-beta3.tar.Z
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-3.5-beta3/src
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
@@ -31,6 +32,5 @@ post-install:
${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so
${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1
${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so
- ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist
index 699a8184c49b..a400eb5e9148 100644
--- a/science/netcdf/pkg-plist
+++ b/science/netcdf/pkg-plist
@@ -10,5 +10,3 @@ lib/libnetcdf.so.1
lib/libnetcdf_c++.a
lib/libnetcdf_c++.so
lib/libnetcdf_c++.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile
index 17e5215399c9..a51c997f5191 100644
--- a/science/netcdf4/Makefile
+++ b/science/netcdf4/Makefile
@@ -14,6 +14,7 @@ DISTFILES= ${PORTNAME}-3.5-beta3.tar.Z
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-3.5-beta3/src
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
@@ -31,6 +32,5 @@ post-install:
${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so
${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1
${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so
- ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/science/netcdf4/pkg-plist b/science/netcdf4/pkg-plist
index 699a8184c49b..a400eb5e9148 100644
--- a/science/netcdf4/pkg-plist
+++ b/science/netcdf4/pkg-plist
@@ -10,5 +10,3 @@ lib/libnetcdf.so.1
lib/libnetcdf_c++.a
lib/libnetcdf_c++.so
lib/libnetcdf_c++.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/security/kgpg-kde4/Makefile b/security/kgpg-kde4/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/security/kgpg-kde4/Makefile
+++ b/security/kgpg-kde4/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/security/kgpg-kde4/pkg-plist b/security/kgpg-kde4/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/security/kgpg-kde4/pkg-plist
+++ b/security/kgpg-kde4/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile
index 9dc828875f97..acd501567d7a 100644
--- a/security/krb5-16/Makefile
+++ b/security/krb5-16/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --enable-shared --with-ccopts="${CFLAGS}"
CONFIGURE_ENV= INSTALL="${INSTALL}"
@@ -104,7 +105,6 @@ post-build:
.include <bsd.port.pre.mk>
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
# html documentation
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
@${MKDIR} ${PREFIX}/share/doc/krb5
diff --git a/security/krb5-16/pkg-plist b/security/krb5-16/pkg-plist
index 9ecf19c0055a..4e1ef4346098 100644
--- a/security/krb5-16/pkg-plist
+++ b/security/krb5-16/pkg-plist
@@ -1,4 +1,3 @@
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec install-info --delete %D/info/krb425.info %D/info/dir
@unexec install-info --delete %D/info/krb5-admin.info %D/info/dir
@unexec install-info --delete %D/info/krb5-install.info %D/info/dir
@@ -118,8 +117,6 @@ share/gnats/mit
@dirrm include/gssapi
@dirrm include/kerberosIV
@dirrm share/doc/krb5
-@exec /sbin/ldconfig -m %D/lib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
@exec install-info %D/info/krb425.info %D/info/dir
@exec install-info %D/info/krb5-admin.info %D/info/dir
@exec install-info %D/info/krb5-install.info %D/info/dir
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile
index 9dc828875f97..acd501567d7a 100644
--- a/security/krb5-17/Makefile
+++ b/security/krb5-17/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --enable-shared --with-ccopts="${CFLAGS}"
CONFIGURE_ENV= INSTALL="${INSTALL}"
@@ -104,7 +105,6 @@ post-build:
.include <bsd.port.pre.mk>
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
# html documentation
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
@${MKDIR} ${PREFIX}/share/doc/krb5
diff --git a/security/krb5-17/pkg-plist b/security/krb5-17/pkg-plist
index 9ecf19c0055a..4e1ef4346098 100644
--- a/security/krb5-17/pkg-plist
+++ b/security/krb5-17/pkg-plist
@@ -1,4 +1,3 @@
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec install-info --delete %D/info/krb425.info %D/info/dir
@unexec install-info --delete %D/info/krb5-admin.info %D/info/dir
@unexec install-info --delete %D/info/krb5-install.info %D/info/dir
@@ -118,8 +117,6 @@ share/gnats/mit
@dirrm include/gssapi
@dirrm include/kerberosIV
@dirrm share/doc/krb5
-@exec /sbin/ldconfig -m %D/lib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
@exec install-info %D/info/krb425.info %D/info/dir
@exec install-info %D/info/krb5-admin.info %D/info/dir
@exec install-info %D/info/krb5-install.info %D/info/dir
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index 9dc828875f97..acd501567d7a 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --enable-shared --with-ccopts="${CFLAGS}"
CONFIGURE_ENV= INSTALL="${INSTALL}"
@@ -104,7 +105,6 @@ post-build:
.include <bsd.port.pre.mk>
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
# html documentation
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
@${MKDIR} ${PREFIX}/share/doc/krb5
diff --git a/security/krb5-appl/pkg-plist b/security/krb5-appl/pkg-plist
index 9ecf19c0055a..4e1ef4346098 100644
--- a/security/krb5-appl/pkg-plist
+++ b/security/krb5-appl/pkg-plist
@@ -1,4 +1,3 @@
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec install-info --delete %D/info/krb425.info %D/info/dir
@unexec install-info --delete %D/info/krb5-admin.info %D/info/dir
@unexec install-info --delete %D/info/krb5-install.info %D/info/dir
@@ -118,8 +117,6 @@ share/gnats/mit
@dirrm include/gssapi
@dirrm include/kerberosIV
@dirrm share/doc/krb5
-@exec /sbin/ldconfig -m %D/lib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
@exec install-info %D/info/krb425.info %D/info/dir
@exec install-info %D/info/krb5-admin.info %D/info/dir
@exec install-info %D/info/krb5-install.info %D/info/dir
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 9dc828875f97..acd501567d7a 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --enable-shared --with-ccopts="${CFLAGS}"
CONFIGURE_ENV= INSTALL="${INSTALL}"
@@ -104,7 +105,6 @@ post-build:
.include <bsd.port.pre.mk>
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
# html documentation
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
@${MKDIR} ${PREFIX}/share/doc/krb5
diff --git a/security/krb5/pkg-plist b/security/krb5/pkg-plist
index 9ecf19c0055a..4e1ef4346098 100644
--- a/security/krb5/pkg-plist
+++ b/security/krb5/pkg-plist
@@ -1,4 +1,3 @@
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec install-info --delete %D/info/krb425.info %D/info/dir
@unexec install-info --delete %D/info/krb5-admin.info %D/info/dir
@unexec install-info --delete %D/info/krb5-install.info %D/info/dir
@@ -118,8 +117,6 @@ share/gnats/mit
@dirrm include/gssapi
@dirrm include/kerberosIV
@dirrm share/doc/krb5
-@exec /sbin/ldconfig -m %D/lib
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
@exec install-info %D/info/krb425.info %D/info/dir
@exec install-info %D/info/krb5-admin.info %D/info/dir
@exec install-info %D/info/krb5-install.info %D/info/dir
diff --git a/security/kwallet/Makefile b/security/kwallet/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/security/kwallet/Makefile
+++ b/security/kwallet/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/security/kwallet/pkg-plist b/security/kwallet/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/security/kwallet/pkg-plist
+++ b/security/kwallet/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 0df6d2231833..3880ab6860e2 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= ftp://argeas.cs-net.gr/pub/unix/mcrypt/old/ \
MAINTAINER= nsayer@freebsd.org
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-posix-threads
@@ -20,7 +21,4 @@ MAN3= mcrypt.3
RESTRICTED= "yes - cryptography"
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/security/libmcrypt/pkg-plist b/security/libmcrypt/pkg-plist
index 38cf497a3bc7..f0e8a3da1b5f 100644
--- a/security/libmcrypt/pkg-plist
+++ b/security/libmcrypt/pkg-plist
@@ -4,5 +4,3 @@ lib/libmcrypt-2.2.so.2
lib/libmcrypt-2.2.so
lib/libmcrypt.so
include/mcrypt.h
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/security/libparanoia/Makefile b/security/libparanoia/Makefile
index 7d9732548c4f..de8e89a0cdef 100644
--- a/security/libparanoia/Makefile
+++ b/security/libparanoia/Makefile
@@ -14,6 +14,8 @@ MAINTAINER= snar@paranoia.ru
ONLY_FOR_ARCHS= i386
+INSTALLS_SHLIBS= yes
+
# this library depends on system-defined headers "SYS.h" and "DEFS.h"
# which may differ from release to release.
diff --git a/security/libparanoia/pkg-plist b/security/libparanoia/pkg-plist
index db21f49f4a5f..7c3bf2a30931 100644
--- a/security/libparanoia/pkg-plist
+++ b/security/libparanoia/pkg-plist
@@ -1,5 +1,3 @@
lib/libparanoia.a
lib/libparanoia.so
lib/libparanoia.so.1.4
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index d32141f63790..720d6a1202e0 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -12,12 +12,10 @@ MASTER_SITES= http://schumann.cx/mhash/dl/
MAINTAINER= nsayer@freebsd.org
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-LDFLAGS='-lc_r'
MAN3= mhash.3
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
.include <bsd.port.mk>
diff --git a/security/mhash/pkg-plist b/security/mhash/pkg-plist
index 77560d065e21..50a9674933b5 100644
--- a/security/mhash/pkg-plist
+++ b/security/mhash/pkg-plist
@@ -3,5 +3,3 @@ lib/libmhash.so.1
lib/libmhash.so
lib/libmhash.a
include/mhash.h
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index fc90e2e89326..b5734897a7f7 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -94,7 +94,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/$i.so.${SHLIBVER} ${PREFIX}/lib
@${LN} -sf $i.so.${SHLIBVER} ${PREFIX}/lib/$i.so
.endfor
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/openssl
diff --git a/security/openssl-beta/pkg-plist b/security/openssl-beta/pkg-plist
index 959d549b1240..890ede42b0ec 100644
--- a/security/openssl-beta/pkg-plist
+++ b/security/openssl-beta/pkg-plist
@@ -78,5 +78,3 @@ share/doc/openssl/openssl.txt
@dirrm openssl/private
@dirrm openssl
@dirrm share/doc/openssl
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index fc90e2e89326..b5734897a7f7 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -94,7 +94,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/$i.so.${SHLIBVER} ${PREFIX}/lib
@${LN} -sf $i.so.${SHLIBVER} ${PREFIX}/lib/$i.so
.endfor
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/openssl
diff --git a/security/openssl/pkg-plist b/security/openssl/pkg-plist
index 959d549b1240..890ede42b0ec 100644
--- a/security/openssl/pkg-plist
+++ b/security/openssl/pkg-plist
@@ -78,5 +78,3 @@ share/doc/openssl/openssl.txt
@dirrm openssl/private
@dirrm openssl
@dirrm share/doc/openssl
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/sysutils/kdf/Makefile
+++ b/sysutils/kdf/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/sysutils/kdf/pkg-plist b/sysutils/kdf/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/sysutils/kdf/pkg-plist
+++ b/sysutils/kdf/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/sysutils/kfloppy/Makefile b/sysutils/kfloppy/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/sysutils/kfloppy/Makefile
+++ b/sysutils/kfloppy/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/sysutils/kfloppy/pkg-plist b/sysutils/kfloppy/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/sysutils/kfloppy/pkg-plist
+++ b/sysutils/kfloppy/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/sysutils/sweeper/Makefile b/sysutils/sweeper/Makefile
index 672e5434d23e..6ca9487dcaf3 100644
--- a/sysutils/sweeper/Makefile
+++ b/sysutils/sweeper/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/sysutils/sweeper/pkg-plist b/sysutils/sweeper/pkg-plist
index bc9acbfba126..e337e8930d38 100644
--- a/sysutils/sweeper/pkg-plist
+++ b/sysutils/sweeper/pkg-plist
@@ -581,5 +581,3 @@ share/toolbar/filedel.xpm
@dirrm share/apps/kab
@dirrm share/apps/ark/toolbar
@dirrm share/apps/ark
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index e2ae9d0ecd42..be4e23fcf5d3 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -14,5 +14,6 @@ MASTER_SITE_SUBDIR= stable/sources/libxml
MAINTAINER= ade@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/textproc/libxml/pkg-plist b/textproc/libxml/pkg-plist
index 78832abb6790..de4dcdcaf933 100644
--- a/textproc/libxml/pkg-plist
+++ b/textproc/libxml/pkg-plist
@@ -20,8 +20,6 @@ include/gnome-xml/xpath.h
lib/libxml.a
lib/libxml.so
lib/libxml.so.5
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/gnome-xml/DOM.gif
share/gnome-xml/book1.html
share/gnome-xml/gnome-xml-debugxml.html
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index e2ae9d0ecd42..be4e23fcf5d3 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -14,5 +14,6 @@ MASTER_SITE_SUBDIR= stable/sources/libxml
MAINTAINER= ade@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/textproc/libxml2/pkg-plist b/textproc/libxml2/pkg-plist
index 78832abb6790..de4dcdcaf933 100644
--- a/textproc/libxml2/pkg-plist
+++ b/textproc/libxml2/pkg-plist
@@ -20,8 +20,6 @@ include/gnome-xml/xpath.h
lib/libxml.a
lib/libxml.so
lib/libxml.so.5
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/gnome-xml/DOM.gif
share/gnome-xml/book1.html
share/gnome-xml/gnome-xml-debugxml.html
diff --git a/textproc/libxode/Makefile b/textproc/libxode/Makefile
index d5cc1a0308bc..41f18d258969 100644
--- a/textproc/libxode/Makefile
+++ b/textproc/libxode/Makefile
@@ -13,5 +13,6 @@ MASTER_SITES= http://download.jabber.org/dists/1.0/
MAINTAINER= lukin@okbmei.msk.su
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/textproc/libxode/pkg-plist b/textproc/libxode/pkg-plist
index 731d33d46e59..68f5dc40625e 100644
--- a/textproc/libxode/pkg-plist
+++ b/textproc/libxode/pkg-plist
@@ -4,5 +4,3 @@ include/xmlparse.h
lib/libxode.a
lib/libxode.so
lib/libxode.so.1
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/www/libghttp/Makefile b/www/libghttp/Makefile
index ef705894621c..14f9942cbf1e 100644
--- a/www/libghttp/Makefile
+++ b/www/libghttp/Makefile
@@ -14,5 +14,6 @@ MASTER_SITE_SUBDIR= stable/sources/libghttp
MAINTAINER= vanilla@FreeBSD.org
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/www/libghttp/pkg-plist b/www/libghttp/pkg-plist
index bbe96bc19487..5b1dfaad018b 100644
--- a/www/libghttp/pkg-plist
+++ b/www/libghttp/pkg-plist
@@ -3,5 +3,3 @@ include/ghttp_constants.h
lib/libghttp.a
lib/libghttp.so
lib/libghttp.so.1
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
diff --git a/www/libxpg4-ns/Makefile b/www/libxpg4-ns/Makefile
index b85dc8582193..ff56cc439107 100644
--- a/www/libxpg4-ns/Makefile
+++ b/www/libxpg4-ns/Makefile
@@ -14,6 +14,8 @@ DISTNAME= libxpg4-3.3
MAINTAINER= sada@FreeBSD.ORG
+INSTALLS_SHLIBS= yes
+
MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0
PORTOBJFORMAT= aout
@@ -29,9 +31,6 @@ pre-build:
pre-install:
${MKDIR} ${LIBDIR}
-post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LIBDIR}
-
extract-from-freebsd: # only for port maintainer.
.if exists(/usr/src/lib)
@${RM} -rf ${WRKSRC}
diff --git a/www/libxpg4-ns/pkg-plist b/www/libxpg4-ns/pkg-plist
index 343f355e7829..ea4d53a09276 100644
--- a/www/libxpg4-ns/pkg-plist
+++ b/www/libxpg4-ns/pkg-plist
@@ -1,5 +1,3 @@
lib/aout/libxpg4-ns.a
lib/aout/libxpg4-ns.so.2.0
lib/aout/libxpg4-ns_p.a
-@exec env OBJFORMAT=aout ldconfig -m %B
-@unexec env OBJFORMAT=aout ldconfig -R %B
diff --git a/x11-toolkits/jx/Makefile b/x11-toolkits/jx/Makefile
index 9591abbf1e0b..007c4ae46870 100644
--- a/x11-toolkits/jx/Makefile
+++ b/x11-toolkits/jx/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
USE_BISON= yes
USE_GMAKE= yes
MAKE_ENV+= JX_INSTALL_ROOT="${PREFIX}/bin" \
diff --git a/x11-toolkits/jx/pkg-plist b/x11-toolkits/jx/pkg-plist
index bcd3ca2da409..0ccb35c636ac 100644
--- a/x11-toolkits/jx/pkg-plist
+++ b/x11-toolkits/jx/pkg-plist
@@ -1312,5 +1312,3 @@ share/jx/jx_run_script.xpm
@dirrm include/ace
bin/jfdesign
bin/jxlayout
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/x11-toolkits/kde-qt-addon/Makefile b/x11-toolkits/kde-qt-addon/Makefile
index 081b5ddbf620..3a29f5ff0516 100644
--- a/x11-toolkits/kde-qt-addon/Makefile
+++ b/x11-toolkits/kde-qt-addon/Makefile
@@ -17,6 +17,7 @@ SOMAJOR= 4
SOMINOR= 0
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/x11-toolkits/kde-qt-addon/pkg-plist b/x11-toolkits/kde-qt-addon/pkg-plist
index a3409e438ebc..7f2dc3417da1 100644
--- a/x11-toolkits/kde-qt-addon/pkg-plist
+++ b/x11-toolkits/kde-qt-addon/pkg-plist
@@ -5,5 +5,3 @@ include/qcanvas.h
include/qdom.h
include/qpolygonscanner.h
include/qxml.h
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
diff --git a/x11-toolkits/lesstif/Makefile b/x11-toolkits/lesstif/Makefile
index bfc7cb01ace5..22c4100c6308 100644
--- a/x11-toolkits/lesstif/Makefile
+++ b/x11-toolkits/lesstif/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/automake:${PORTSDIR}/devel/automake
MANUAL_PACKAGE_BUILD= do not want to install during interactive build
USE_AUTOCONF= yes
USE_X_PREFIX= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-static --enable-shared --disable-build-Xlt \
--enable-production --disable-debug --disable-build-Xbae
@@ -95,7 +96,6 @@ post-install:
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.a ${PREFIX}/lib/libMrm.a
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.la ${PREFIX}/lib/libMrm.la
.endif
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/x11-toolkits/lesstif/pkg-plist b/x11-toolkits/lesstif/pkg-plist
index 4adf01d67e43..ade99bc48787 100644
--- a/x11-toolkits/lesstif/pkg-plist
+++ b/x11-toolkits/lesstif/pkg-plist
@@ -324,8 +324,6 @@ lib/libMrm.a
lib/libMrm.so
lib/libMrm.so.1
lib/libMrm.la
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
lib/X11/app-defaults/Mwm
lib/X11/config/Imake.tmpl
lib/X11/config/Motif.rules
diff --git a/x11-toolkits/libjsearch/Makefile b/x11-toolkits/libjsearch/Makefile
index d86814625f58..b17f778e434f 100644
--- a/x11-toolkits/libjsearch/Makefile
+++ b/x11-toolkits/libjsearch/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= jx-1_5_3.1:${JXPORT}
WRKSRC= ${WRKDIR}/JX-1.5.3
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
USE_GMAKE= yes
MAKE_ENV= JX_INSTALL_ROOT="${PREFIX}/bin" \
JX_LIB_ROOT="${PREFIX}/lib" \
diff --git a/x11-toolkits/libjsearch/pkg-plist b/x11-toolkits/libjsearch/pkg-plist
index b92fddbe81d5..ace8f3407f98 100644
--- a/x11-toolkits/libjsearch/pkg-plist
+++ b/x11-toolkits/libjsearch/pkg-plist
@@ -17,5 +17,3 @@ share/jx/jsearch/replace.xpm
@dirrm share/jx/jsearch
%%PORTDOCS:%%@unexec rmdir %D/share/doc/JX 2>/dev/null || true
@dirrm include/%%INCLUDEDIR%%
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/x11-toolkits/libjtoolbar/Makefile b/x11-toolkits/libjtoolbar/Makefile
index 8fb8f1fc0a97..b5d46aecd539 100644
--- a/x11-toolkits/libjtoolbar/Makefile
+++ b/x11-toolkits/libjtoolbar/Makefile
@@ -24,6 +24,7 @@ WRKSRC= ${WRKDIR}/JX-1.5.3
USE_XLIB= yes
USE_GMAKE= yes
+INSTALLS_SHLIBS= yes
MAKE_ENV= JX_INSTALL_ROOT="${PREFIX}/bin" \
JX_LIB_ROOT="${PREFIX}/lib" \
X11PREFIX="${X11PREFIX}" \
diff --git a/x11-toolkits/libjtoolbar/pkg-plist b/x11-toolkits/libjtoolbar/pkg-plist
index 41b8c36d8c9e..093616f248d0 100644
--- a/x11-toolkits/libjtoolbar/pkg-plist
+++ b/x11-toolkits/libjtoolbar/pkg-plist
@@ -19,5 +19,3 @@ share/jx/jtoolbar/todonotdone.xpm
@dirrm share/jx/jtoolbar
%%PORTDOCS:%%@unexec rmdir %D/share/doc/JX 2>/dev/null || true
@dirrm include/%%INCLUDEDIR%%
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/x11-toolkits/libjtree/Makefile b/x11-toolkits/libjtree/Makefile
index eb9d85cab682..a7a28f0bf228 100644
--- a/x11-toolkits/libjtree/Makefile
+++ b/x11-toolkits/libjtree/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= jx-1_5_3.1:${JXPORT}
WRKSRC= ${WRKDIR}/JX-1.5.3
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
USE_GMAKE= yes
MAKE_ENV= JX_INSTALL_ROOT="${PREFIX}/bin" \
JX_LIB_ROOT="${PREFIX}/lib" \
diff --git a/x11-toolkits/libjtree/pkg-plist b/x11-toolkits/libjtree/pkg-plist
index a092b40bcf1d..2e3c3e444b8b 100644
--- a/x11-toolkits/libjtree/pkg-plist
+++ b/x11-toolkits/libjtree/pkg-plist
@@ -16,5 +16,3 @@ lib/%%PORTNAME%%-%%LIBVERSION%%.so.%%LIBNUMBER%%
%%PORTDOCS:%%share/doc/JX/LICENSE_%%PORTNAME%%
%%PORTDOCS:%%@unexec rmdir %D/share/doc/JX 2>/dev/null || true
@dirrm include/%%INCLUDEDIR%%
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
diff --git a/x11-toolkits/neXtaw/Makefile b/x11-toolkits/neXtaw/Makefile
index 86d76f6a67be..3bb120aa0fad 100644
--- a/x11-toolkits/neXtaw/Makefile
+++ b/x11-toolkits/neXtaw/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://www.inf.ufrgs.br/~casantos/neXtaw/
MAINTAINER= tg@FreeBSD.org
USE_IMAKE= yes
+INSTALLS_SHLIBS= yes
MAN1= neXtclock.1
@@ -23,6 +24,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/neXtaw
${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${PREFIX}/share/doc/neXtaw
.endif
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/x11-toolkits/neXtaw/pkg-plist b/x11-toolkits/neXtaw/pkg-plist
index db7e80d1b0e1..ffb8544ccc61 100644
--- a/x11-toolkits/neXtaw/pkg-plist
+++ b/x11-toolkits/neXtaw/pkg-plist
@@ -2,8 +2,6 @@ bin/neXtclock
lib/libneXtaw.a
lib/libneXtaw.so
lib/libneXtaw.so.6
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
include/X11/neXtaw/AllWidgets.h
include/X11/neXtaw/AsciiSink.h
include/X11/neXtaw/AsciiSinkP.h
diff --git a/x11-wm/libdockapp/Makefile b/x11-wm/libdockapp/Makefile
index 30f7d51e295c..cf54a5d274bc 100644
--- a/x11-wm/libdockapp/Makefile
+++ b/x11-wm/libdockapp/Makefile
@@ -18,5 +18,6 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIBS= yes
.include <bsd.port.mk>
diff --git a/x11-wm/libdockapp/pkg-plist b/x11-wm/libdockapp/pkg-plist
index 429f85727825..22893ebf99b3 100644
--- a/x11-wm/libdockapp/pkg-plist
+++ b/x11-wm/libdockapp/pkg-plist
@@ -2,5 +2,3 @@ include/dockapp.h
lib/libdockapp.a
lib/libdockapp.so
lib/libdockapp.so.1
-@exec /sbin/ldconfig -m %D
-@unexec /sbin/ldconfig -R
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kde4-baseapps/pkg-plist b/x11/kde4-baseapps/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kde4-baseapps/pkg-plist
+++ b/x11/kde4-baseapps/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kde4-runtime/Makefile
+++ b/x11/kde4-runtime/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kde4-runtime/pkg-plist b/x11/kde4-runtime/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kde4-runtime/pkg-plist
+++ b/x11/kde4-runtime/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kde4-workspace/Makefile
+++ b/x11/kde4-workspace/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kde4-workspace/pkg-plist b/x11/kde4-workspace/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kde4-workspace/pkg-plist
+++ b/x11/kde4-workspace/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdebase2/Makefile b/x11/kdebase2/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kdebase2/Makefile
+++ b/x11/kdebase2/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kdebase2/pkg-plist b/x11/kdebase2/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kdebase2/pkg-plist
+++ b/x11/kdebase2/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kdebase3/pkg-plist b/x11/kdebase3/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kdebase3/pkg-plist
+++ b/x11/kdebase3/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kdebase4-runtime/Makefile
+++ b/x11/kdebase4-runtime/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kdebase4-runtime/pkg-plist b/x11/kdebase4-runtime/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kdebase4-runtime/pkg-plist
+++ b/x11/kdebase4-runtime/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kdebase4-workspace/Makefile
+++ b/x11/kdebase4-workspace/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kdebase4-workspace/pkg-plist b/x11/kdebase4-workspace/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kdebase4-workspace/pkg-plist
+++ b/x11/kdebase4-workspace/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdebase4/Makefile b/x11/kdebase4/Makefile
index cda7136c2f65..3631ae463be9 100644
--- a/x11/kdebase4/Makefile
+++ b/x11/kdebase4/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-xdmdir=${X11BASE}/lib/X11/xdm" \
--with-qt-dir=${X11BASE} \
diff --git a/x11/kdebase4/pkg-plist b/x11/kdebase4/pkg-plist
index 7906bc632d7e..df4215b2832a 100644
--- a/x11/kdebase4/pkg-plist
+++ b/x11/kdebase4/pkg-plist
@@ -1874,5 +1874,3 @@ share/wallpapers/kdm_bg.jpg
@dirrm share/applnk/Games
@dirrm share/applnk/Control
@dirrm share/applnk/Applications
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdelibs11/Makefile b/x11/kdelibs11/Makefile
index 89b5b877ff7e..454d5483c01b 100644
--- a/x11/kdelibs11/Makefile
+++ b/x11/kdelibs11/Makefile
@@ -25,6 +25,7 @@ MAKE_ENV+= SOMAJOR="${LIBVER}" SOMINOR="0"
USE_BZIP2= yes
USE_GMAKE= yes
USE_QT= yes
+INSTALLS_SHLIBS= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS=
CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \
diff --git a/x11/kdelibs11/pkg-plist b/x11/kdelibs11/pkg-plist
index ee85d17dbc51..ace82176e6be 100644
--- a/x11/kdelibs11/pkg-plist
+++ b/x11/kdelibs11/pkg-plist
@@ -311,8 +311,6 @@ share/toolbar/viewmag+.xpm
share/toolbar/viewmag-.xpm
share/toolbar/viewmag.xpm
share/toolbar/viewzoom.xpm
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
@unexec rmdir %D/share/wallpapers 2>/dev/null || true
@unexec rmdir %D/share/toolbar 2>/dev/null || true
@unexec rmdir %D/share/sounds 2>/dev/null || true
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index 3396e22df38d..3c36057f163d 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -23,6 +23,7 @@ SOMAJOR= 4
SOMINOR= 0
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --enable-shared \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/x11/kdelibs2/pkg-plist b/x11/kdelibs2/pkg-plist
index 97357af16629..918aac05d4a7 100644
--- a/x11/kdelibs2/pkg-plist
+++ b/x11/kdelibs2/pkg-plist
@@ -1491,5 +1491,3 @@ share/toolbar/configure.png
@dirrm include/dom
@dirrm include/artsc
@dirrm include/arts
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 3396e22df38d..3c36057f163d 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -23,6 +23,7 @@ SOMAJOR= 4
SOMINOR= 0
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --enable-shared \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/x11/kdelibs3/pkg-plist b/x11/kdelibs3/pkg-plist
index 97357af16629..918aac05d4a7 100644
--- a/x11/kdelibs3/pkg-plist
+++ b/x11/kdelibs3/pkg-plist
@@ -1491,5 +1491,3 @@ share/toolbar/configure.png
@dirrm include/dom
@dirrm include/artsc
@dirrm include/arts
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 3396e22df38d..3c36057f163d 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -23,6 +23,7 @@ SOMAJOR= 4
SOMINOR= 0
USE_BZIP2= yes
USE_QT2= yes
+INSTALLS_SHLIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --enable-shared \
--with-qt-includes=${X11BASE}/include/qt2 \
diff --git a/x11/kdelibs4/pkg-plist b/x11/kdelibs4/pkg-plist
index 97357af16629..918aac05d4a7 100644
--- a/x11/kdelibs4/pkg-plist
+++ b/x11/kdelibs4/pkg-plist
@@ -1491,5 +1491,3 @@ share/toolbar/configure.png
@dirrm include/dom
@dirrm include/artsc
@dirrm include/arts
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
diff --git a/x11/libdnd/Makefile b/x11/libdnd/Makefile
index 6fdc71c345c4..f9f6b3bef12e 100644
--- a/x11/libdnd/Makefile
+++ b/x11/libdnd/Makefile
@@ -15,6 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lukin@okbmei.msk.su
USE_XLIB= yes
+INSTALLS_SHLIBS= yes
WRKSRC= ${WRKDIR}/DND/DNDlib
GNU_CONFIGURE= yes
@@ -23,6 +24,5 @@ post-install:
${MKDIR} ${PREFIX}/share/doc/libdnd
${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${PREFIX}/share/doc/libdnd
.endif
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/x11/libdnd/pkg-plist b/x11/libdnd/pkg-plist
index 4124da0c6ef8..1f9d9d6ea097 100644
--- a/x11/libdnd/pkg-plist
+++ b/x11/libdnd/pkg-plist
@@ -6,8 +6,6 @@ lib/libDnd.so
lib/libDnd.so.1
lib/libDnd++.so
lib/libDnd++.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libdnd/DND.dvi
share/doc/libdnd/DNDa4.ps
share/doc/libdnd/DNDletter.ps