From b6040619aa907584751304a36c1d26313cff26e6 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 12 Dec 2005 14:43:23 +0000 Subject: First step at reworking Linux binary packages. Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms. --- sysutils/storage-manager/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sysutils/storage-manager') diff --git a/sysutils/storage-manager/Makefile b/sysutils/storage-manager/Makefile index 67bf0cafca3..bae8493dc90 100644 --- a/sysutils/storage-manager/Makefile +++ b/sysutils/storage-manager/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/09/28 20:52:27 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2005/12/12 14:43:26 joerg Exp $ DISTNAME= sm_linux_v314_install PKGNAME= storage-manager-3.14 @@ -11,10 +11,15 @@ HOMEPAGE= http://opensource.adaptec.com/ COMMENT= Adaptec Storage Management software BUILD_DEPENDS+= rpm>=2.5.4:../../misc/rpm + +.include "../../emulators/suse_linux/Makefile.application" + +.if !defined(USE_NATIVE_LINUX) DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11 +.endif -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ONLY_FOR_PLATFORM= *-*-i386 RESTRICTED= "Redistribution not permitted" NO_SRC_ON_FTP= ${RESTRICTED} @@ -87,5 +92,4 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/dpteng ${PREFIX}/etc/rc.d/dpteng ${INSTALL_SCRIPT} ${WRKDIR}/dptelog ${PREFIX}/etc/rc.d/dptelog -.include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3