summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron>1998-05-08 21:33:21 +0000
committertron <tron>1998-05-08 21:33:21 +0000
commit30ea8cfa20a0300358e313a196e707d88dab2381 (patch)
tree89703601c8a0e9190568aee331e1b7ecc070ceb0 /emulators
parent5d3f97dd5c795baae8a4c30315264210b1544d21 (diff)
downloadpkgsrc-30ea8cfa20a0300358e313a196e707d88dab2381.tar.gz
Replace "LIB_DEPENDS" with "DEPENDS", use "ONLY_FOR_ARCHS" instead of
"pre-fetch" hack and fix broken package list creation.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat11/Makefile14
-rwxr-xr-xemulators/compat11/files/configure4
2 files changed, 6 insertions, 12 deletions
diff --git a/emulators/compat11/Makefile b/emulators/compat11/Makefile
index cae7cb54d68..f487369c435 100644
--- a/emulators/compat11/Makefile
+++ b/emulators/compat11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/04/24 09:20:34 agc Exp $
+# $NetBSD: Makefile,v 1.6 1998/05/08 21:33:21 tron Exp $
#
DISTNAME= compat11
@@ -8,21 +8,15 @@ EXTRACT_SUFX= _${ARCH}.tgz
MAINTAINER= tv@netbsd.org
-LIB_DEPENDS= edit.0.:../../emulators/compat12 \
- g++.3.:../../emulators/compat12 \
- util.3.:../../emulators/compat12
+DEPENDS+= compat12:../../emulators/compat12
+
+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:
@${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}
diff --git a/emulators/compat11/files/configure b/emulators/compat11/files/configure
index 4763b627476..76ea2df55ab 100755
--- a/emulators/compat11/files/configure
+++ b/emulators/compat11/files/configure
@@ -1,12 +1,12 @@
#!/bin/sh
-# $NetBSD: configure,v 1.1.1.1 1998/03/17 21:31:39 tv Exp $
+# $NetBSD: configure,v 1.2 1998/05/08 21:33:21 tron Exp $
# Configure package and create its Makefile and PLIST
echo Configuring compat11 package
for file in lib*.so*; do
echo >>Makefile "FILES+=$file"
- echo >>.PLIST "${PREFIX}/lib/$file"
+ echo >>.PLIST "lib/$file"
done
cat >>Makefile <<EOF