summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2002-03-18 07:58:35 +0000
committerfredb <fredb@pkgsrc.org>2002-03-18 07:58:35 +0000
commit71ca8f912fe63e1f0430d26c98142970633113c1 (patch)
treeb8094300708b060839db00c0cd2c25d6fe5f5b98 /lang
parentf8f6c8edcc4579ea6ad9b3b645673eb7fd787d98 (diff)
downloadpkgsrc-71ca8f912fe63e1f0430d26c98142970633113c1.tar.gz
The host specific installation subdirectories are actually taken by configure
from its --host argument, which is exactly ${MACHINE_GNU_PLATFORM}. Use that for the PLIST instead of ${MACHINE_ARCH}--${LOWER_OPSYS}, which may lack the "elf" suffix on certain platforms.
Diffstat (limited to 'lang')
-rw-r--r--lang/mercury/Makefile6
-rw-r--r--lang/mercury/PLIST102
2 files changed, 54 insertions, 54 deletions
diff --git a/lang/mercury/Makefile b/lang/mercury/Makefile
index 5922b4e7833..9ae572d4584 100644
--- a/lang/mercury/Makefile
+++ b/lang/mercury/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/02/18 15:14:26 seb Exp $
+# $NetBSD: Makefile,v 1.6 2002/03/18 07:58:35 fredb Exp $
DISTNAME= mercury-compiler-0.10.1
PKGNAME= mercury-0.10.1
@@ -25,9 +25,9 @@ CONFIGURE_ENV+= BOEHM_GC_DIR=${BOEHM_GC_DIR}
CONFIGURE_ENV+= CC=gcc
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/mercury/lib/${MACHINE_ARCH}--${LOWER_OPSYS}
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/mercury/lib/${MACHINE_GNU_PLATFORM}
${LN} -sf ${PREFIX}/lib/libgc.a \
- ${PREFIX}/lib/mercury/lib/${MACHINE_ARCH}--${LOWER_OPSYS}/libgc.a
+ ${PREFIX}/lib/mercury/lib/${MACHINE_GNU_PLATFORM}/libgc.a
${LN} -sf ${PREFIX}/include/gc.h ${PREFIX}/lib/mercury/inc/gc.h
${FIND} ${WRKSRC} -type d -name "CVS" | ${XARGS} ${RM} -fr
${FIND} ${WRKSRC} -type f -name ".cvsignore" | ${XARGS} ${RM} -f
diff --git a/lang/mercury/PLIST b/lang/mercury/PLIST
index f0ce13be152..67682c75d99 100644
--- a/lang/mercury/PLIST
+++ b/lang/mercury/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:26 seb Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/03/18 07:58:35 fredb Exp $
bin/c2init
bin/canonical_grade
bin/info_to_mdb
@@ -47,8 +47,8 @@ info/mercury_user_guide.info-2
info/mercury_user_guide.info-3
info/mercury_user_guide.info-4
@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/mercury.info
-lib/mercury/bin/${MACHINE_ARCH}--${LOWER_OPSYS}/mercury_compile
-lib/mercury/bin/${MACHINE_ARCH}--${LOWER_OPSYS}/mercury_profile
+lib/mercury/bin/${MACHINE_GNU_PLATFORM}/mercury_compile
+lib/mercury/bin/${MACHINE_GNU_PLATFORM}/mercury_profile
lib/mercury/inc/gc.h
lib/mercury/inc/machdeps/i386_regs.h
lib/mercury/inc/machdeps/alpha_regs.h
@@ -545,43 +545,43 @@ lib/mercury/ints/varset.int2
lib/mercury/ints/varset.int3
lib/mercury/ints/varset.opt
lib/mercury/ints/varset.trans_opt
-lib/mercury/lib/${MACHINE_ARCH}--${LOWER_OPSYS}/libgc.a
-lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast.gc.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.gc.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.gc.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.gc.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast.gc.tr/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.gc.tr/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.gc.tr/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.gc.tr/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast.prof/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/asm_fast/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/asm_fast/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/asm_fast/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/asm_fast/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/hlc.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/hlc.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/hlc.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/hlc.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
-lib/mercury/lib/hlc.par.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_browser.a
-lib/mercury/lib/hlc.par.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_rt.a
-lib/mercury/lib/hlc.par.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_std.a
-lib/mercury/lib/hlc.par.gc/${MACHINE_ARCH}--${LOWER_OPSYS}/libmer_trace.a
+lib/mercury/lib/${MACHINE_GNU_PLATFORM}/libgc.a
+lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast.gc.prof/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.gc.prof/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.gc.prof/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.gc.prof/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast.gc.tr/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.gc.tr/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.gc.tr/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.gc.tr/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast.gc/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.gc/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.gc/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.gc/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast.prof/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast.prof/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast.prof/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast.prof/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/asm_fast/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/asm_fast/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/asm_fast/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/asm_fast/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/hlc.gc/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/hlc.gc/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/hlc.gc/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/hlc.gc/${MACHINE_GNU_PLATFORM}/libmer_trace.a
+lib/mercury/lib/hlc.par.gc/${MACHINE_GNU_PLATFORM}/libmer_browser.a
+lib/mercury/lib/hlc.par.gc/${MACHINE_GNU_PLATFORM}/libmer_rt.a
+lib/mercury/lib/hlc.par.gc/${MACHINE_GNU_PLATFORM}/libmer_std.a
+lib/mercury/lib/hlc.par.gc/${MACHINE_GNU_PLATFORM}/libmer_trace.a
lib/mercury/mdb/mdbrc
lib/mercury/mmake/Mmake.rules
lib/mercury/mmake/Mmake.vars
@@ -832,30 +832,30 @@ share/examples/mercury/tests/subdir_runtests
@dirrm lib/mercury/modules
@dirrm lib/mercury/mmake
@dirrm lib/mercury/mdb
-@dirrm lib/mercury/lib/hlc.par.gc/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/hlc.par.gc/${MACHINE_GNU_PLATFORM}}
@dirrm lib/mercury/lib/hlc.par.gc
-@dirrm lib/mercury/lib/hlc.gc/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/hlc.gc/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib/hlc.gc
-@dirrm lib/mercury/lib/asm_fast/${MACHINE_ARCH}--${LOWER_OPSYS}
-@dirrm lib/mercury/lib/asm_fast.prof/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/asm_fast/${MACHINE_GNU_PLATFORM}
+@dirrm lib/mercury/lib/asm_fast.prof/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib/asm_fast.prof
-@dirrm lib/mercury/lib/asm_fast.gc/${MACHINE_ARCH}--${LOWER_OPSYS}
-@dirrm lib/mercury/lib/asm_fast.gc.tr/${MACHINE_ARCH}--${LOWER_OPSYS}
-@dirrm lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/asm_fast.gc/${MACHINE_GNU_PLATFORM}
+@dirrm lib/mercury/lib/asm_fast.gc.tr/${MACHINE_GNU_PLATFORM}
+@dirrm lib/mercury/lib/asm_fast.gc.tr.debug/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib/asm_fast.gc.tr.debug
@dirrm lib/mercury/lib/asm_fast.gc.tr
-@dirrm lib/mercury/lib/asm_fast.gc.prof/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/asm_fast.gc.prof/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib/asm_fast.gc.prof
-@dirrm lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/asm_fast.gc.memprof/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib/asm_fast.gc.memprof
@dirrm lib/mercury/lib/asm_fast.gc
@dirrm lib/mercury/lib/asm_fast
-@dirrm lib/mercury/lib/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/lib/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/lib
@dirrm lib/mercury/ints/Mercury
@dirrm lib/mercury/ints
@dirrm lib/mercury/inc/machdeps
@dirrm lib/mercury/inc
-@dirrm lib/mercury/bin/${MACHINE_ARCH}--${LOWER_OPSYS}
+@dirrm lib/mercury/bin/${MACHINE_GNU_PLATFORM}
@dirrm lib/mercury/bin
@dirrm lib/mercury