From 540e0281a4e91b921b54e3d9f8acb7bac1458637 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. --- security/uvscan/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'security') diff --git a/security/uvscan/Makefile b/security/uvscan/Makefile index 18aeb4db9a4..1dbb4af2e0a 100644 --- a/security/uvscan/Makefile +++ b/security/uvscan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2005/12/03 20:18:52 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2005/12/12 14:43:26 joerg Exp $ DISTNAME= vlnx424e PKGNAME= uvscan-4.24.1 @@ -12,9 +12,13 @@ COMMENT= Evaluation version of a DOS/Windows file virus scanner CONFLICTS= uvscan-dat-[0-9]* +.include "../../emulators/suse_linux/Makefile.application" + +.if !defined(USE_NATIVE_LINUX) DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat +.endif -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ONLY_FOR_PLATFORM= *-*-i386 CHECK_SHLIBS= NO WRKSRC= ${WRKDIR} @@ -78,5 +82,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}; \ done -.include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3