From d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5 Mon Sep 17 00:00:00 2001 From: asami Date: Sat, 24 Jun 1995 11:42:32 +0000 Subject: Add post-install: pkg_add -m ${PREFIX}/lib to Makefiles and @exec ldconfig -m %D to packing lists of ports that install shared libraries. This should get rid of a huge chunk of confusion for novice users! All hail Paul Kranenburg! :) --- devel/libdlmalloc/Makefile | 5 ++++- devel/libdlmalloc/pkg-plist | 1 + devel/libmalloc/Makefile | 5 ++++- devel/libmalloc/pkg-plist | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'devel') diff --git a/devel/libdlmalloc/Makefile b/devel/libdlmalloc/Makefile index f41a546..77e5fe6 100644 --- a/devel/libdlmalloc/Makefile +++ b/devel/libdlmalloc/Makefile @@ -3,7 +3,7 @@ # Date created: 3 June 1995 # Whom: roberto # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1995/06/04 05:29:57 asami Exp $ # DISTNAME= dlmalloc @@ -23,4 +23,7 @@ do-extract: cp -p ${DISTDIR}/${DISTFILES} ${WRKDIR} cp -p ${FILESDIR}/Makefile ${WRKDIR} +post-install: + ldconfig -m ${PREFIX}/lib + .include diff --git a/devel/libdlmalloc/pkg-plist b/devel/libdlmalloc/pkg-plist index 18e018e..76a9c39 100644 --- a/devel/libdlmalloc/pkg-plist +++ b/devel/libdlmalloc/pkg-plist @@ -1,3 +1,4 @@ lib/libdlmalloc.a @exec ranlib %D/%F lib/libdlmalloc.so.2.5 +@exec ldconfig -m %B diff --git a/devel/libmalloc/Makefile b/devel/libmalloc/Makefile index 49cb04c..c9c2679 100644 --- a/devel/libmalloc/Makefile +++ b/devel/libmalloc/Makefile @@ -3,7 +3,7 @@ # Date created: 11 January 1995 # Whom: jkh # -# $Id: Makefile,v 1.2 1995/04/01 12:44:37 jkh Exp $ +# $Id: Makefile,v 1.3 1995/04/09 10:05:12 asami Exp $ # DISTNAME= malloc @@ -11,4 +11,7 @@ PKGNAME= malloc-1.17a CATEGORIES+= development programming libraries MASTER_SITES= ftp.cs.toronto.edu:/pub/moraes/ +post-install: + ldconfig -m ${PREFIX}/lib + .include diff --git a/devel/libmalloc/pkg-plist b/devel/libmalloc/pkg-plist index 907518a..ebf0720 100644 --- a/devel/libmalloc/pkg-plist +++ b/devel/libmalloc/pkg-plist @@ -5,3 +5,4 @@ lib/libmalloc_d.a @exec ranlib %D/%F include/malloc.h lib/libmalloc_d.so.1.13 +@exec ldconfig -m %B -- cgit v1.1