diff options
author | agc <agc> | 1999-08-27 15:28:46 +0000 |
---|---|---|
committer | agc <agc> | 1999-08-27 15:28:46 +0000 |
commit | 8947cef25852a24f1a2143d05cf14c92ccb87b4c (patch) | |
tree | 1c2d940ea36743d04e948a30aff68a4b148028a1 /emulators | |
parent | fd9af4da692b303e2f6f08dc7b5bd1c7b63033c9 (diff) | |
download | pkgsrc-8947cef25852a24f1a2143d05cf14c92ccb87b4c.tar.gz |
Provide an error message if an attempt is made to build this package
on a NetBSD/i386 ELF platform.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine-current/Makefile | 8 | ||||
-rw-r--r-- | emulators/wine/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/emulators/wine-current/Makefile b/emulators/wine-current/Makefile index 2ef6f8b6be8..93d3b0fb2fa 100644 --- a/emulators/wine-current/Makefile +++ b/emulators/wine-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1999/07/06 08:01:26 jlam Exp $ +# $NetBSD: Makefile,v 1.5 1999/08/27 15:28:47 agc Exp $ DISTNAME= Wine-990328 PKGNAME= wine-990328 @@ -23,4 +23,10 @@ LDFLAGS= -L${LOCALBASE}/lib 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" 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" |