diff options
author | grant <grant> | 2003-12-17 02:57:10 +0000 |
---|---|---|
committer | grant <grant> | 2003-12-17 02:57:10 +0000 |
commit | f78f87ee15d605b40ac526b6d0023108edf946e2 (patch) | |
tree | 014b0e5b1b0b7ab0f640b4a3bcb02ec79e9fac71 /www/MozillaFirebird-bin-nightly/Makefile | |
parent | f7faa874f84dedbb8c357619ae3a8f2de7dcd65b (diff) | |
download | pkgsrc-f78f87ee15d605b40ac526b6d0023108edf946e2.tar.gz |
add native NetBSD build, used by default (instead of Linux builds)
where possible.
to force using the Linux builds, define MOZILLA_USE_LINUX.
Diffstat (limited to 'www/MozillaFirebird-bin-nightly/Makefile')
-rw-r--r-- | www/MozillaFirebird-bin-nightly/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/www/MozillaFirebird-bin-nightly/Makefile b/www/MozillaFirebird-bin-nightly/Makefile index b543ec53ce0..0ed4fc5a026 100644 --- a/www/MozillaFirebird-bin-nightly/Makefile +++ b/www/MozillaFirebird-bin-nightly/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/10/19 08:35:09 grant Exp $ +# $NetBSD: Makefile,v 1.4 2003/12/17 02:57:10 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -31,6 +31,14 @@ PKGVER!= ${DATE} +%Y%m%d FILES_SUBST+= PLATFORM=${PLATFORM} PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC +# everything specific to your OS/Arch goes into it's own Makefile +# group together i386, i486, i586 and i686 (for Linux) +ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g} + +.if exists(Makefile.${OPSYS}.${ARCH}) +. include "Makefile.${OPSYS}.${ARCH}" +.endif + do-build: post-build: @@ -63,6 +71,10 @@ 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" + @cd ${MOZILLA_LIB} && \ + ${LN} -s ${PREFIX}/emul/netbsd16/usr/lib/libstdc++.so* . +.endif @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} @${ECHO} bin/MozillaFirebird-${PLATFORM} >> ${PLIST_SRC} @${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print \ @@ -72,12 +84,4 @@ post-install: | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \ >> ${PLIST_SRC} -# everything specific to your OS/Arch goes into it's own Makefile -# group together i386, i486, i586 and i686 (for Linux) -ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g} - -.if exists(Makefile.${OPSYS}.${ARCH}) -. include "Makefile.${OPSYS}.${ARCH}" -.endif - .include "../../mk/bsd.pkg.mk" |