From c723ac50a3832a8e138aa7cc504e59492853c74d Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 27 Aug 1999 15:28:46 +0000 Subject: Provide an error message if an attempt is made to build this package on a NetBSD/i386 ELF platform. --- emulators/wine/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emulators/wine/Makefile') diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 75c5f97713f..61738f09f52 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 1999/05/24 20:39:42 tv Exp $ +# $NetBSD: Makefile,v 1.19 1999/08/27 15:28:46 agc Exp $ DISTNAME= Wine-981211 PKGNAME= wine-981211 @@ -19,4 +19,10 @@ CONFIGURE_ARGS+= --enable-dll post-install: ${INSTALL_DATA} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf.example +post-extract: + @case `${MAKE} show-shlib-type` in \ + ELF) ${ECHO} "Sorry, this package does not work with ELF object formats"; \ + ${FALSE} ;; \ + esac + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3