summaryrefslogtreecommitdiff
path: root/emulators/compat12
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-05-08 21:22:35 +0000
committertron <tron@pkgsrc.org>1998-05-08 21:22:35 +0000
commit0260abe25466102dccd7bb4886baecfb616cef1e (patch)
tree3d8de879dc0544bad55ea7dfa656a196d9f8a45f /emulators/compat12
parentcc2854971c517c7e08f25d25001a0144400c6ed2 (diff)
downloadpkgsrc-0260abe25466102dccd7bb4886baecfb616cef1e.tar.gz
Use "ONLY_FOR_ARCHS" instead of "pre-fetch" hack and fix broken package
list creation.
Diffstat (limited to 'emulators/compat12')
-rw-r--r--emulators/compat12/Makefile12
-rwxr-xr-xemulators/compat12/files/configure4
2 files changed, 6 insertions, 10 deletions
diff --git a/emulators/compat12/Makefile b/emulators/compat12/Makefile
index 75ea522c448..b375369344e 100644
--- a/emulators/compat12/Makefile
+++ b/emulators/compat12/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1998/04/15 10:38:23 agc Exp $
+# $NetBSD: Makefile,v 1.5 1998/05/08 21:22:35 tron Exp $
#
DISTNAME= compat12
@@ -8,18 +8,14 @@ EXTRACT_SUFX= _${ARCH}.tgz
MAINTAINER= tv@netbsd.org
+ONLY_FOR_ARCHS= amiga atari hp300 i386 mac68k mvme68k pc532 sparc sun3
+
HAS_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/usr/lib
PLIST_SRC= ${WRKSRC}/.PLIST
-pre-fetch:
- @case ${ARCH} in \
- amiga|atari|hp300|i386|mac68k|mvme68k|pc532|sparc|sun3) ;; \
- *) ${ECHO_MSG} "This package cannot be built on ${ARCH}."; exit 1;; \
- esac
-
-pre-configure:
+post-extract:
@${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}
post-install:
diff --git a/emulators/compat12/files/configure b/emulators/compat12/files/configure
index 5a9f722aa3c..d1c7d2195ed 100755
--- a/emulators/compat12/files/configure
+++ b/emulators/compat12/files/configure
@@ -1,12 +1,12 @@
#!/bin/sh
-# $NetBSD: configure,v 1.1.1.1 1998/03/17 21:32:54 tv Exp $
+# $NetBSD: configure,v 1.2 1998/05/08 21:22:35 tron Exp $
# Configure package and create its Makefile and PLIST
echo Configuring compat12 package
for file in lib*.so*; do
echo >>Makefile "FILES+=$file"
- echo >>.PLIST "${PREFIX}/lib/$file"
+ echo >>.PLIST "lib/$file"
done
cat >>Makefile <<EOF