summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-12 14:43:23 +0000
committerjoerg <joerg>2005-12-12 14:43:23 +0000
commit540e0281a4e91b921b54e3d9f8acb7bac1458637 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /sysutils
parent58cc45f1a9669fddaa13933caba743bb1880c96c (diff)
downloadpkgsrc-540e0281a4e91b921b54e3d9f8acb7bac1458637.tar.gz
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/storage-manager/Makefile10
1 files changed, 7 insertions, 3 deletions
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"