summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-09-25 13:00:23 +0000
committeragc <agc>2002-09-25 13:00:23 +0000
commitf282c646f9de11a6280402108d6a118c778b1298 (patch)
tree777b79f26834c79b4060a3fe1c3fe830c3cf0dd4
parent873a243406fea8797584f14c6e0de9f0edff563f (diff)
downloadpkgsrc-f282c646f9de11a6280402108d6a118c778b1298.tar.gz
Pullup version 1.14 of graphics/blender/Makefile to the 1.6 pkgsrc branch.
Requested by Dan McMahill. > Correctly sets PLIST_ARCH on sparc systems so that the package installs > and deinstalls cleanly. In addition, only check for compat_svr4 on > NetBSD systems as it clearly isn't needed on a SunOS system.
-rw-r--r--graphics/blender/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 58cce6007d8..227d41a922b 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/08/03 14:02:00 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.13.4.1 2002/09/25 13:00:23 agc Exp $
PKGNAME= blender-2.11
PKGREVISION= 5
@@ -20,10 +20,12 @@ CHECK_SHLIBS= NO
# To be updated as other platforms PLIST will be built
ONLY_FOR_PLATFORM= *-*-i386 *-*-powerpc *-*-sparc
+.include "../../mk/bsd.prefs.mk"
+
.if (${MACHINE_ARCH} == "alpha")
-.if !exists(/emul/linux/lib/ld.so.1)
+. if !exists(/emul/linux/lib/ld.so.1)
IGNORE= "${PKGNAME} requires Linux libraries - see compat_linux(8)"
-.endif
+. endif
DISTNAME= blender2.11-linux-glibc2.1.3-alpha
#
.elif (${MACHINE_ARCH} == "i386")
@@ -32,16 +34,19 @@ DISTNAME= blender2.11-linux-glibc2.1.2-i386-static
PLIST_ARCH= linux-i386
#
.elif (${MACHINE_ARCH} == "sparc")
-.if !exists(/emul/svr4/usr/lib/ld.so)
+. if ${OPSYS} == "NetBSD"
+. if !exists(/emul/svr4/usr/lib/ld.so)
IGNORE= "${PKGNAME} requires Solaris libraries - see compat_svr4(8)"
-.endif
+. endif
+. endif
DISTNAME= blender2.11-solaris-2.6-sparc
+PLIST_ARCH= solaris-sparc
EXTRACT_SUFX= .tar.Z
#
.elif (${MACHINE_ARCH} == "powerpc")
-.if !exists(/emul/linux/lib/ld.so.1)
+. if !exists(/emul/linux/lib/ld.so.1)
IGNORE= "${PKGNAME} requires Linux libraries - see compat_linux(8)"
-.endif
+. endif
DEPENDS+= linuxppc_lib>=2000.4.2:../../emulators/linuxppc_lib
DISTNAME= blender2.11-linux-glibc2.1.3-powerpc-static
PLIST_ARCH= linux-powerpc