summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-09-25 12:53:20 +0000
committerdmcmahill <dmcmahill>2002-09-25 12:53:20 +0000
commit9a7316d81c57ebe367e7a0567d70b5491c6871fa (patch)
treee4728fb0db9c3021552f3ec2f047b0b437ca4fc4 /graphics
parent435d7ff8577493338283f3df1e13ea432ad5ea58 (diff)
downloadpkgsrc-9a7316d81c57ebe367e7a0567d70b5491c6871fa.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')
-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")