summaryrefslogtreecommitdiffstats
path: root/graphics/xpm
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-06-24 11:42:32 +0000
committerasami <asami@FreeBSD.org>1995-06-24 11:42:32 +0000
commitd21b71cc5a3e11bccc9aa5fe5763254cd565d9a5 (patch)
tree560e7eb8a07c987120c853aef90742f320b09b93 /graphics/xpm
parent8d54bac5baa3871cb4702456e31c93aedc116bd5 (diff)
downloadFreeBSD-ports-d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5.zip
FreeBSD-ports-d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5.tar.gz
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! :)
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile5
-rw-r--r--graphics/xpm/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index 7719e25..624c0de 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -3,7 +3,7 @@
# Date created: 14 September 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.5 1995/04/01 12:46:12 jkh Exp $
+# $Id: Makefile,v 1.6 1995/04/09 07:09:52 asami Exp $
#
DISTNAME= xpm-3.4e
@@ -13,4 +13,7 @@ MASTER_SITES= ftp://avahi.inria.fr/pub/xpm/
USE_IMAKE= yes
XMKMF= xmkmf
+post-install:
+ ldconfig -m ${PREFIX}/lib
+
.include <bsd.port.mk>
diff --git a/graphics/xpm/pkg-plist b/graphics/xpm/pkg-plist
index f21f0759..6ac6a61 100644
--- a/graphics/xpm/pkg-plist
+++ b/graphics/xpm/pkg-plist
@@ -4,6 +4,7 @@ bin/sxpm
@mode 644
lib/libXpm.a
lib/libXpm.so.4.5
+@exec ldconfig -m %B
@exec ranlib %D/lib/libXpm.a
@mode 444
include/X11/xpm.h
OpenPOWER on IntegriCloud