pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/xpm added support for IRIX 5
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa56d5831270
branches: trunk
changeset: 518436:aa56d5831270
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sat Sep 09 20:32:40 2006 +0000
description:
added support for IRIX 5
diffstat:
graphics/xpm/Makefile | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r ce1f88df8936 -r aa56d5831270 graphics/xpm/Makefile
--- a/graphics/xpm/Makefile Sat Sep 09 20:31:46 2006 +0000
+++ b/graphics/xpm/Makefile Sat Sep 09 20:32:40 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2006/09/03 00:56:29 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2006/09/09 20:32:40 schwarz Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 6
@@ -23,4 +23,23 @@
${LN} -f libXpm.so.4.11 libXpm.so.4
.endif
+.if !empty(LOWER_OPSYS:Mirix5*)
+# needs snprintf()
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+IMAKEOPTS+= -DExtraLibraries=${BUILDLINK_LDADD.libnbcompat:Q}
+IMAKEOPTS+= -DInstallCmd=${INSTALL:Q}
+
+post-configure:
+ ${MKDIR} ${WRKSRC}/usrlib
+
+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
+
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index