pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/acroread7 Protect against LD_LIBRARY_PATH forcin...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3d4f6fb55f6
branches: trunk
changeset: 545736:a3d4f6fb55f6
user: is <is%pkgsrc.org@localhost>
date: Mon Aug 11 14:29:20 2008 +0000
description:
Protect against LD_LIBRARY_PATH forcing us to load NetBSD shared libraries.
diffstat:
print/acroread7/Makefile | 4 ++--
print/acroread7/files/acroread.diff | 15 ++++++++++++++-
2 files changed, 16 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r e5e6175c4957 -r a3d4f6fb55f6 print/acroread7/Makefile
--- a/print/acroread7/Makefile Mon Aug 11 14:19:40 2008 +0000
+++ b/print/acroread7/Makefile Mon Aug 11 14:29:20 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2008/06/12 02:14:43 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2008/08/11 14:29:20 is Exp $
DISTNAME= acroread7 # overridden below
PKGNAME= acroread7-7.0.9
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.9/enu/
diff -r e5e6175c4957 -r a3d4f6fb55f6 print/acroread7/files/acroread.diff
--- a/print/acroread7/files/acroread.diff Mon Aug 11 14:19:40 2008 +0000
+++ b/print/acroread7/files/acroread.diff Mon Aug 11 14:29:20 2008 +0000
@@ -1,7 +1,20 @@
-$NetBSD: acroread.diff,v 1.5 2007/09/13 20:19:09 wiz Exp $
+$NetBSD: acroread.diff,v 1.6 2008/08/11 14:29:20 is Exp $
--- acroread.orig 2006-05-23 01:33:35.000000000 +0000
+++ acroread 2006-06-13 13:55:00.000000000 +0000
+@@ -1,6 +1,12 @@
+ #!/bin/sh
+ #
+
++case `/usr/bin/uname` in
++NetBSD) case `/usr/bin/uname -p` in
++ i386) LD_LIBRARY_PATH=""; export LD_LIBRARY_PATH;;
++ x86_64) LD_LIBRARY_PATH=""; export LD_LIBRARY_PATH;;
++ esac;;
++esac
+
+ setLangENU()
+ {
@@ -233,7 +233,7 @@ else
ScriptDirectory="`/bin/pwd 2> /dev/null`"
cd "$cwd"
Home |
Main Index |
Thread Index |
Old Index