summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-08-23 15:33:39 +0000
committerwiz <wiz@pkgsrc.org>2000-08-23 15:33:39 +0000
commitac1a68df221d7a5900f5991197bfa168f856f6b5 (patch)
treea59b80e21de8228d9a5559f66fea0a338c78d6d0 /emulators
parentd5b9e5d2f186fca1dc477d989f0bba0e7d84eea9 (diff)
downloadpkgsrc-ac1a68df221d7a5900f5991197bfa168f856f6b5.tar.gz
Properly mark as BROKEN on ELF systems.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-current/Makefile12
-rw-r--r--emulators/wine/Makefile12
2 files changed, 12 insertions, 12 deletions
diff --git a/emulators/wine-current/Makefile b/emulators/wine-current/Makefile
index d542c83fa60..e8804e13091 100644
--- a/emulators/wine-current/Makefile
+++ b/emulators/wine-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/01/15 18:46:27 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/23 15:33:40 wiz Exp $
DISTNAME= Wine-990328
PKGNAME= wine-990328
@@ -24,10 +24,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.prefs.mk"
+
+.if ${OBJECT_FMT} == "ELF"
+BROKEN= Does not work on ELF systems.
+.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 60b7a943493..67334c4a781 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/12/29 01:43:57 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2000/08/23 15:33:39 wiz Exp $
DISTNAME= Wine-981211
PKGNAME= wine-981211
@@ -20,10 +20,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.prefs.mk"
+
+.if ${OBJECT_FMT} == "ELF"
+BROKEN= Does not work on ELF systems.
+.endif
.include "../../mk/bsd.pkg.mk"