pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xpm make sure libXpm.so.4.11 is built with th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c744077bac87
branches:  trunk
changeset: 518463:c744077bac87
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Sep 10 13:42:32 2006 +0000

description:
make sure libXpm.so.4.11 is built with the correct name on IRIX 5

diffstat:

 graphics/xpm/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 97637e441d44 -r c744077bac87 graphics/xpm/Makefile
--- a/graphics/xpm/Makefile     Sun Sep 10 13:39:40 2006 +0000
+++ b/graphics/xpm/Makefile     Sun Sep 10 13:42:32 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/09/09 20:32:40 schwarz Exp $
+# $NetBSD: Makefile,v 1.49 2006/09/10 13:42:32 schwarz Exp $
 
 DISTNAME=       xpm-3.4k
 PKGREVISION=   6
@@ -24,6 +24,10 @@
 .endif
 
 .if !empty(LOWER_OPSYS:Mirix5*)
+SUBST_CLASSES+=        sodots
+SUBST_STAGE.sodots=    post-configure
+SUBST_FILES.sodots=    lib/Makefile
+SUBST_SED.sodots=      -e 's,\.so$$(SOXPMLIBREV),.so.$$(SOXPMLIBREV),g'
 # needs snprintf()
 . include "../../pkgtools/libnbcompat/buildlink3.mk"
 IMAKEOPTS+=    -DExtraLibraries=${BUILDLINK_LDADD.libnbcompat:Q}
@@ -34,9 +38,6 @@
 
 post-install:
        cd ${PREFIX}/lib && \
-       ${MV} -f libXpm.so4.11 libXpm.so.4.11 && \
-       ${RM} -f libXpm.so && \
-       ${LN} -sf libXpm.so.4.11 libXpm.so && \
        ${RM} -f libXpm.so.4 && \
        ${LN} -sf libXpm.so.4.11 libXpm.so.4
        



Home | Main Index | Thread Index | Old Index