summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-09-10 19:57:28 +0000
committerschwarz <schwarz@pkgsrc.org>2006-09-10 19:57:28 +0000
commitfde5fd0b4878fb2fa926756cf8d1171b848a4764 (patch)
tree966422aaff9d863585393f114beee214ad5ea3d9
parent01d88bca8246643a44a89acb77d1dbe25df16455 (diff)
downloadpkgsrc-fde5fd0b4878fb2fa926756cf8d1171b848a4764.tar.gz
modified xsnow Makefile to compile on IRIX 5
-rw-r--r--x11/xsnow/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile
index f8f2afe4f15..e4658b34df2 100644
--- a/x11/xsnow/Makefile
+++ b/x11/xsnow/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/02/05 23:11:49 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2006/09/10 19:57:28 schwarz Exp $
DISTNAME= xsnow-1.42
PKGREVISION= 2
@@ -11,5 +11,13 @@ COMMENT= Create a snowy and Santa-y desktop
USE_IMAKE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(LOWER_OPSYS:Mirix5*)
+# needs snprintf()
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+IMAKEOPTS+= -DExtraLibraries=${BUILDLINK_LDADD.libnbcompat:Q}
+.endif
+
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"