From 53d10230fc82a94c570727fbcc540b945a7734cf Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 25 Sep 2002 13:00:23 +0000 Subject: [PATCH] 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. --- graphics/blender/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 186490538c1..9d196350d3c 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/07/14 22:50:33 rh Exp $ +# $NetBSD: Makefile,v 1.14 2002/09/25 12:53:20 dmcmahill 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 -- 2.41.0