diff options
author | agc <agc> | 2007-01-10 20:47:08 +0000 |
---|---|---|
committer | agc <agc> | 2007-01-10 20:47:08 +0000 |
commit | 54cc2df55af4ca420e57a81b37c8fcd105096340 (patch) | |
tree | 4b79657e2f52d4e748e50e8f42c466ea9acfd1fa /net/aoe-vblade | |
parent | cabf598607f546c6b6843ba4d21d0ec7938c151c (diff) | |
download | pkgsrc-54cc2df55af4ca420e57a81b37c8fcd105096340.tar.gz |
Guard against attempted compilation on operating systems which are not
supported.
Diffstat (limited to 'net/aoe-vblade')
-rw-r--r-- | net/aoe-vblade/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/aoe-vblade/Makefile b/net/aoe-vblade/Makefile index deee5df9995..1c832eb756e 100644 --- a/net/aoe-vblade/Makefile +++ b/net/aoe-vblade/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 20:39:35 agc Exp $ +# $NetBSD: Makefile,v 1.2 2007/01/10 20:47:08 agc Exp $ DISTNAME= vblade-14 PKGNAME= aoe-vblade-14 @@ -10,8 +10,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://aoetools.sourceforge.net/ COMMENT= ATA over Ethernet (AoE) server - thin, LAN-based storage protocol +ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* + +.include "../../mk/bsd.prefs.mk" + do-build: +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" cd ${WRKSRC} && ${CP} freebsd.c bsd.c && ${MAKE} PLATFORM=bsd +.elif ${OPSYS} == "Linux" + ${MAKE} PLATFORM=linux +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vblade ${PREFIX}/sbin/ |