summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"