diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1998-11-20 10:26:12 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1998-11-20 10:26:12 +0000 |
commit | 72ccfa5b4df75b2579e03623b4f26de49dce8638 (patch) | |
tree | 4c4e410c70ce2a53aea94acea919c864c2081e8a /print/acroread5 | |
parent | dde91063dfc463bcdb649b1393d8810eaa981ed3 (diff) | |
download | ports-72ccfa5b4df75b2579e03623b4f26de49dce8638.tar.gz ports-72ccfa5b4df75b2579e03623b4f26de49dce8638.zip |
Notes
Diffstat (limited to 'print/acroread5')
-rw-r--r-- | print/acroread5/Makefile | 11 | ||||
-rw-r--r-- | print/acroread5/files/acroread.diff | 20 |
2 files changed, 27 insertions, 4 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index a19e547aa38b..e29f680b2529 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -3,7 +3,7 @@ # Date created: 16 November 1996 # Whom: Thomas Gellekum <tg@freebsd.org> # -# $Id: Makefile,v 1.6 1998/10/12 12:26:42 jseger Exp $ +# $Id: Makefile,v 1.7 1998/10/13 02:46:56 jseger Exp $ # DISTNAME= ar302lin @@ -15,10 +15,10 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= tg@FreeBSD.ORG -NO_FILTER_SHLIBS= yes - RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib +NO_FILTER_SHLIBS= yes + WRKSRC= ${WRKDIR}/ILINXR.install do-build: @@ -29,7 +29,10 @@ do-install: @ReadInstallDir=${PREFIX}/Acrobat3 ${WRKSRC}/INSTALL post-install: - @sed -e 's/Linux)/FreeBSD\|Linux)/' <${PREFIX}/Acrobat3/bin/acroread >${PREFIX}/bin/acroread + @cd ${PREFIX}/Acrobat3/bin && \ + ${PATCH} --quiet < ${FILESDIR}/acroread.diff && \ + ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread ${PREFIX}/bin && \ + ${RM} acroread.orig @chmod +x ${PREFIX}/bin/acroread @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf" diff --git a/print/acroread5/files/acroread.diff b/print/acroread5/files/acroread.diff new file mode 100644 index 000000000000..7da09ec4606a --- /dev/null +++ b/print/acroread5/files/acroread.diff @@ -0,0 +1,20 @@ +--- acroread.orig Fri Nov 20 17:44:30 1998 ++++ acroread Fri Nov 20 17:45:11 1998 +@@ -205,7 +205,7 @@ + ACRO_CONFIG=intelbsdi + export ACRO_CONFIG + ;; +- Linux) ++ FreeBSD|Linux) + ACRO_CONFIG=intellinux + export ACRO_CONFIG + ;; +@@ -309,6 +309,8 @@ + intellinux) + LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib" "$LD_LIBRARY_PATH"`" + export LD_LIBRARY_PATH ++ LC_CTYPE="C" ++ export LC_CTYPE + ;; + intelbsdi) + ;; |