summaryrefslogtreecommitdiff
path: root/graphics/blender/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-09-25 12:53:20 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-09-25 12:53:20 +0000
commit287a9434829ae0eef1f4c5437e1f45fa22b79528 (patch)
treee4728fb0db9c3021552f3ec2f047b0b437ca4fc4 /graphics/blender/Makefile
parent01101662345a74d000e13802377a21f673352ca4 (diff)
downloadpkgsrc-287a9434829ae0eef1f4c5437e1f45fa22b79528.tar.gz
correctly set PLIST_ARCH so this installs and deinstalls correctly on
sparc (I could have sworn it did before but i guess not). Also only check for compat_svr4 on NetBSD systems, not SunOs.
Diffstat (limited to 'graphics/blender/Makefile')
-rw-r--r--graphics/blender/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 58cce6007d8..55377f1e98e 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.14 2002/09/25 12:53:20 dmcmahill Exp $
PKGNAME= blender-2.11
PKGREVISION= 5
@@ -20,6 +20,8 @@ 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)
IGNORE= "${PKGNAME} requires Linux libraries - see compat_linux(8)"
@@ -32,10 +34,13 @@ DISTNAME= blender2.11-linux-glibc2.1.2-i386-static
PLIST_ARCH= linux-i386
#
.elif (${MACHINE_ARCH} == "sparc")
+.if ${OPSYS} == "NetBSD"
.if !exists(/emul/svr4/usr/lib/ld.so)
IGNORE= "${PKGNAME} requires Solaris libraries - see compat_svr4(8)"
.endif
+.endif
DISTNAME= blender2.11-solaris-2.6-sparc
+PLIST_ARCH= solaris-sparc
EXTRACT_SUFX= .tar.Z
#
.elif (${MACHINE_ARCH} == "powerpc")