diff options
author | grant <grant> | 2003-06-11 17:43:15 +0000 |
---|---|---|
committer | grant <grant> | 2003-06-11 17:43:15 +0000 |
commit | 22c439eb256f15c308062c948e652c9d97bdbda7 (patch) | |
tree | e20f2a04e437702234b7c189f7bc61db7fa40326 /www | |
parent | 12709d241185a4c84d72975b529bb04aa30500c2 (diff) | |
download | pkgsrc-22c439eb256f15c308062c948e652c9d97bdbda7.tar.gz |
add Solaris/sparc binary release to this package.
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla-bin-nightly/Makefile | 14 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/Makefile.SunOS.sparc | 9 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/files/mozilla.sh | 6 |
3 files changed, 26 insertions, 3 deletions
diff --git a/www/mozilla-bin-nightly/Makefile b/www/mozilla-bin-nightly/Makefile index 340825f06ec..110d2171ad7 100644 --- a/www/mozilla-bin-nightly/Makefile +++ b/www/mozilla-bin-nightly/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/06/11 17:20:56 grant Exp $ +# $NetBSD: Makefile,v 1.3 2003/06/11 17:43:15 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -11,7 +11,7 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://www.mozilla.org/ COMMENT= Full featured gecko-based browser (nightly binary pkg) -ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 SunOS-5.[789]*-sparc PKGVER!= date +%Y%m%d DIST_SUBDIR= ${PKGNAME} @@ -46,6 +46,16 @@ post-install: @${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print \ | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \ >> ${PLIST_SRC} +# this build for Solaris wants exactly 'libgtk-1.2.so.0' +.if ${OPSYS} == "SunOS" + @cd ${MOZILLA_LIB} && \ + ${LN} -s ${LOCALBASE}/lib/libglib.so libglib-1.2.so.0; \ + ${LN} -s ${X11BASE}/lib/libgdk.so libgdk-1.2.so.0; \ + ${LN} -s ${X11BASE}/lib/libgtk.so libgtk-1.2.so.0 +. for _lib_ in glib gdk gtk + @${ECHO} lib/mozilla-${PLATFORM}/lib${_lib_}-1.2.so.0 >> ${PLIST_SRC} +. endfor +.endif @${FIND} ${MOZILLA_LIB} -type d -print \ | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \ >> ${PLIST_SRC} diff --git a/www/mozilla-bin-nightly/Makefile.SunOS.sparc b/www/mozilla-bin-nightly/Makefile.SunOS.sparc new file mode 100644 index 00000000000..7bc7138eccf --- /dev/null +++ b/www/mozilla-bin-nightly/Makefile.SunOS.sparc @@ -0,0 +1,9 @@ +# $NetBSD: Makefile.SunOS.sparc,v 1.1 2003/06/11 17:43:15 grant Exp $ +# + +DISTNAME= mozilla-sparc-sun-solaris2.7 + +DEPENDS+= gtk+>=1.2:../../x11/gtk + +PLATFORM= ${LOWER_OPSYS} +MOZILLA_LIB= ${PREFIX}/lib/mozilla-${PLATFORM} diff --git a/www/mozilla-bin-nightly/files/mozilla.sh b/www/mozilla-bin-nightly/files/mozilla.sh index d5aba625d45..781012ba4c4 100644 --- a/www/mozilla-bin-nightly/files/mozilla.sh +++ b/www/mozilla-bin-nightly/files/mozilla.sh @@ -1,3 +1,7 @@ #!@SH@ -# $NetBSD: mozilla.sh,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $ +# $NetBSD: mozilla.sh,v 1.2 2003/06/11 17:43:16 grant Exp $ + +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/mozilla-@PLATFORM@" +export LD_LIBRARY_PATH + exec @PREFIX@/lib/mozilla-@PLATFORM@/mozilla "$@" |