summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-12-17 03:10:42 +0000
committergrant <grant@pkgsrc.org>2003-12-17 03:10:42 +0000
commit84371b29b0b49d58029f57206983150ed0ee55d2 (patch)
tree363f79906aadaf326770f68e2b294d5e4ef99dc0
parenta78e1322759625b1cac096a7618c399ddae08684 (diff)
downloadpkgsrc-84371b29b0b49d58029f57206983150ed0ee55d2.tar.gz
only display the compat_linux MESSAGE if we're using the Linux binary
pkg on NetBSD. fix test for _COMPAT16_LIBSTDCXX.
-rw-r--r--www/MozillaFirebird-bin-nightly/MESSAGE.compat_linux (renamed from www/MozillaFirebird-bin-nightly/MESSAGE.NetBSD)2
-rw-r--r--www/MozillaFirebird-bin-nightly/Makefile8
2 files changed, 7 insertions, 3 deletions
diff --git a/www/MozillaFirebird-bin-nightly/MESSAGE.NetBSD b/www/MozillaFirebird-bin-nightly/MESSAGE.compat_linux
index ded5e043b24..cc6a2400c7c 100644
--- a/www/MozillaFirebird-bin-nightly/MESSAGE.NetBSD
+++ b/www/MozillaFirebird-bin-nightly/MESSAGE.compat_linux
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.2 2003/12/14 04:13:01 grant Exp $
+$NetBSD: MESSAGE.compat_linux,v 1.1 2003/12/17 03:10:42 grant Exp $
Mozilla Firebird requires your kernel to include 'COMPAT_LINUX'
(plus in NetBSD systems before 1.5 'EXEC_ELF32').
diff --git a/www/MozillaFirebird-bin-nightly/Makefile b/www/MozillaFirebird-bin-nightly/Makefile
index 0ed4fc5a026..22b60a847ac 100644
--- a/www/MozillaFirebird-bin-nightly/Makefile
+++ b/www/MozillaFirebird-bin-nightly/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/12/17 02:57:10 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/12/17 03:10:42 grant Exp $
#
DISTNAME= # see Makefile.${OPSYS}.${ARCH}
@@ -39,6 +39,10 @@ ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}
. include "Makefile.${OPSYS}.${ARCH}"
.endif
+.if ${PLATFORM} == "linux" && ${OPSYS} == "NetBSD"
+MESSAGE_SRC+= ${PKGDIR}/MESSAGE.compat_linux
+.endif
+
do-build:
post-build:
@@ -71,7 +75,7 @@ post-install:
${LN} -s libglib.so libglib-1.2.so.0; \
${LN} -s libgmodule.so libgmodule-1.2.so.0
.endif
-.if ${_COMPAT16_LIBSTDCXX} == "YES"
+.if defined(_COMPAT16_LIBSTDCXX)
@cd ${MOZILLA_LIB} && \
${LN} -s ${PREFIX}/emul/netbsd16/usr/lib/libstdc++.so* .
.endif