diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-09-10 13:42:32 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-09-10 13:42:32 +0000 |
commit | 78eea6f50935a9ad794b95d5640127cfe0b6b151 (patch) | |
tree | ffb673c21f6c09eb3606c73304cdfbf5a099ad33 /graphics | |
parent | 13e11da026ed8f66f202e30511192448f7640bb9 (diff) | |
download | pkgsrc-78eea6f50935a9ad794b95d5640127cfe0b6b151.tar.gz |
make sure libXpm.so.4.11 is built with the correct name on IRIX 5
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xpm/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile index a4e67e5e527..b77b49c655f 100644 --- a/graphics/xpm/Makefile +++ b/graphics/xpm/Makefile @@ -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 @@ post-install: .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-configure: 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 |