summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-14 13:46:09 +0000
committertron <tron@pkgsrc.org>2001-01-14 13:46:09 +0000
commit3c047bfa6281146cb5d41b05e181d849520d0243 (patch)
tree41b365a6c5b7757d761e92bf2410acd3228fb66d /graphics/xpm
parent614061be69cee49a71000b6d37423a2dcee6e1a8 (diff)
downloadpkgsrc-3c047bfa6281146cb5d41b05e181d849520d0243.tar.gz
Create missing softlink "libXpm.so.4" manually under Solaris.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index 53b17977562..cce54dd37f6 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2000/11/25 08:42:04 tron Exp $
-#
+# $NetBSD: Makefile,v 1.16 2001/01/14 13:46:09 tron Exp $
DISTNAME= xpm-3.4k
CATEGORIES= graphics x11
@@ -17,4 +16,13 @@ IGNORE= "The Xpm library is included in your X11 distribution."
.endif
.endif
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == SunOS)
+post-install:
+ cd ${PREFIX}/lib && \
+ ${RM} -f libXpm.so.4 && \
+ ${LN} -f libXpm.so.4.11 libXpm.so.4
+.endif
+
.include "../../mk/bsd.pkg.mk"