update package and coerce the scripts to run
This commit is contained in:
parent
0a23ecff13
commit
d47de73715
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2003/05/14 21:50:59 wilfried Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2003/05/15 00:53:45 wilfried Exp $
|
||||
# Uses pthreads
|
||||
|
||||
COMMENT= "open source version of the Netscape browser"
|
||||
@ -55,14 +55,19 @@ MAKE_ENV= LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
|
||||
CFLAGS="" CXXFLAGS="" \
|
||||
MALLOC_OPTIONS=j
|
||||
|
||||
MOB= ${WRKSRC}/dist/bin
|
||||
MOZ= ${PREFIX}/mozilla
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/mozilla
|
||||
@chmod 755 ${PREFIX}/lib/mozilla
|
||||
@cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla-bin ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla-config ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/run-mozilla.sh ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${MOZ}
|
||||
.for dir in chrome components defaults icons res plugins searchplugins
|
||||
@cd ${MOB} && ${TAR} -chf - ${dir} | \
|
||||
${TAR} -xf - -C ${MOZ}
|
||||
.endfor
|
||||
@cd ${MOB} && ${TAR} -chf - *.so.1.0 | \
|
||||
${TAR} -xf - -C ${MOZ}
|
||||
${INSTALL_SCRIPT} ${MOB}/mozilla ${MOB}/mozilla-config ${MOB}/run-mozilla.sh ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${MOB}/LICENSE ${MOZ}
|
||||
${INSTALL_PROGRAM} ${MOB}/mozilla-bin ${MOZ}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
17
www/mozilla/patches/patch-build_unix_run-mozilla_sh
Normal file
17
www/mozilla/patches/patch-build_unix_run-mozilla_sh
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-build_unix_run-mozilla_sh,v 1.1 2003/05/15 00:53:45 wilfried Exp $
|
||||
--- build/unix/run-mozilla.sh.orig Thu Feb 13 13:30:52 2003
|
||||
+++ build/unix/run-mozilla.sh Wed May 14 18:23:30 2003
|
||||
@@ -64,11 +64,12 @@
|
||||
##
|
||||
#
|
||||
cmdname=`basename "$0"`
|
||||
-MOZ_DIST_BIN=`dirname "$0"`
|
||||
+MOZ_DIST_BIN=/usr/local/mozilla
|
||||
MOZ_DEFAULT_NAME="./${cmdname}-bin"
|
||||
MOZ_APPRUNNER_NAME="./mozilla-bin"
|
||||
MOZ_VIEWER_NAME="./viewer"
|
||||
MOZ_PROGRAM=""
|
||||
+cd $MOZ_DIST_BIN
|
||||
|
||||
exitcode=0
|
||||
#
|
12
www/mozilla/patches/patch-xpfe_bootstrap_mozilla_in
Normal file
12
www/mozilla/patches/patch-xpfe_bootstrap_mozilla_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.1 2003/05/15 00:53:45 wilfried Exp $
|
||||
--- xpfe/bootstrap/mozilla.in.orig Wed Aug 7 05:46:15 2002
|
||||
+++ xpfe/bootstrap/mozilla.in Wed May 14 18:28:53 2003
|
||||
@@ -115,6 +115,6 @@
|
||||
eval "set -- $moreargs"
|
||||
if [ $debugging = 1 ]
|
||||
then
|
||||
- echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
|
||||
+ echo $dist_bin/run-mozilla.sh $script_args /usr/local/mozilla/$MOZILLA_BIN "$@"
|
||||
fi
|
||||
-exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
|
||||
+exec "$dist_bin/run-mozilla.sh" $script_args "/usr/local/mozilla/$MOZILLA_BIN" "$@"
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user