diff options
author | dmcmahill <dmcmahill> | 2000-02-12 20:49:49 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-02-12 20:49:49 +0000 |
commit | 79bc2fe8637f88e66adb90d22e4f4839fbde914c (patch) | |
tree | 2e296dc7716c1818a873fa0303ee6db696800c73 /lang/squeak/Makefile | |
parent | 6969eeca42cd5121236dc8c9b2aa8dd5127d27f0 (diff) | |
download | pkgsrc-79bc2fe8637f88e66adb90d22e4f4839fbde914c.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/Makefile')
-rw-r--r-- | lang/squeak/Makefile | 10 |
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 |