From 287a9434829ae0eef1f4c5437e1f45fa22b79528 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Wed, 25 Sep 2002 12:53:20 +0000 Subject: 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. --- graphics/blender/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'graphics/blender/Makefile') 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") -- cgit v1.2.3