summaryrefslogtreecommitdiff
path: root/lang/squeak
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-02-12 20:49:49 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-02-12 20:49:49 +0000
commit584ef45c036705fe247af657a2b719e31c5a270c (patch)
tree2e296dc7716c1818a873fa0303ee6db696800c73 /lang/squeak
parentdd63e1b170029f61c9f5a03a1ba6b24c945f5923 (diff)
downloadpkgsrc-584ef45c036705fe247af657a2b719e31c5a270c.tar.gz
use the config.guess script that comes with the program to determine what
directory the program built in instead of trying to generate the system name on our own. This ensures it always works (for example 1.4.2_ALPHA confused this when done the old way)
Diffstat (limited to 'lang/squeak')
-rw-r--r--lang/squeak/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
index 3632c0e2294..918b0b1cdaf 100644
--- a/lang/squeak/Makefile
+++ b/lang/squeak/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/02/05 19:49:20 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2000/02/12 20:49:49 dmcmahill Exp $
#
DISTNAME= Squeak2.6-src
@@ -24,12 +24,8 @@ do-config:
cd ${WRKSRC}; ${GMAKE} config
do-install:
- ${MKDIR} ${PREFIX}/share/squeak; \
- case ${OPSYS} in \
- SunOS) maker=sun; version=`${ECHO} ${OS_VERSION} | ${SED} -e 's|^5|2|'` ;; \
- *) maker=""; version=${OS_VERSION} ;; \
- esac; \
- ${INSTALL_PROGRAM} ${WRKSRC}/${MACHINE_GNU_ARCH}-$$maker-${LOWER_OPSYS}$$version/squeak ${PREFIX}/bin; \
+ ${MKDIR} ${PREFIX}/share/squeak
+ ${INSTALL_PROGRAM} ${WRKSRC}/`${WRKSRC}/conf/config.guess`/squeak ${PREFIX}/bin
for f in Squeak2.6.changes Squeak2.6.image; do \
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/$$f.gz > ${PREFIX}/share/squeak/$$f; \
done