[47284] trunk/dports/tex/pTeX
takanori at macports.org
takanori at macports.org
Tue Feb 24 12:22:31 PST 2009
Revision: 47284
http://trac.macports.org/changeset/47284
Author: takanori at macports.org
Date: 2009-02-24 12:22:30 -0800 (Tue, 24 Feb 2009)
Log Message:
-----------
pTeX:
- Workaround for "multiple definitions of symbol _hash_create" issues on Mac OS X 10.4. (#18254)
Modified Paths:
--------------
trunk/dports/tex/pTeX/Portfile
Added Paths:
-----------
trunk/dports/tex/pTeX/files/archive/
trunk/dports/tex/pTeX/files/archive/dvipng-tiger-#18254.diff
trunk/dports/tex/pTeX/files/archive/xdvik-tiger-#18254.diff
trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile 2009-02-24 19:46:15 UTC (rev 47283)
+++ trunk/dports/tex/pTeX/Portfile 2009-02-24 20:22:30 UTC (rev 47284)
@@ -36,7 +36,10 @@
tetex-texmf-3.0po.tar.gz:tetex \
${distname}${extract.suffix}:ptetex3 \
cmap-gs863.tar.gz:cmap
-patchfiles patch-7font-search.sh.diff patch-8test.sh.diff patch-common.sh.diff
+patchfiles patch-2extract-src.sh.diff \
+ patch-7font-search.sh.diff \
+ patch-8test.sh.diff \
+ patch-common.sh.diff
checksums tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \
sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \
rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
@@ -80,6 +83,10 @@
system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs863.tar.gz | tar --no-same-owner -xf -"
}
+post-patch {
+ eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/
+}
+
configure.args --without-texi2html \
--without-texinfo \
--with-system-gd \
Added: trunk/dports/tex/pTeX/files/archive/dvipng-tiger-#18254.diff
===================================================================
--- trunk/dports/tex/pTeX/files/archive/dvipng-tiger-#18254.diff (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/dvipng-tiger-#18254.diff 2009-02-24 20:22:30 UTC (rev 47284)
@@ -0,0 +1,47 @@
+--- tetex-src-3.0/texk/dvipng/configure.orig 2009-02-22 20:49:42.000000000 -0500
++++ tetex-src-3.0/texk/dvipng/configure 2009-02-22 20:50:08.000000000 -0500
+@@ -2488,7 +2488,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpng -lz -lm $LIBS"
++LIBS="-lpng -lz -lc -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2494 "configure"
+ #include "confdefs.h"
+@@ -2601,7 +2601,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lt1 -lz -lm $LIBS"
++LIBS="-lt1 -lz -lc -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2607 "configure"
+ #include "confdefs.h"
+@@ -2638,7 +2638,7 @@
+
+ fi
+
+- LIBS="-lt1 -lm $LIBS"
++ LIBS="-lt1 -lc -lm $LIBS"
+ if test "$with_system_t1lib" = yes; then
+ echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
+ echo "configure:2645: checking whether installed T1 lib is >= v 5.0.0 " >&5
+@@ -3122,7 +3122,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lm $LIBS"
++LIBS="-lc -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3128 "configure"
+ #include "confdefs.h"
+@@ -3152,7 +3152,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lm $LIBS"
++ LIBS="-lc -lm $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
Added: trunk/dports/tex/pTeX/files/archive/xdvik-tiger-#18254.diff
===================================================================
--- trunk/dports/tex/pTeX/files/archive/xdvik-tiger-#18254.diff (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/xdvik-tiger-#18254.diff 2009-02-24 20:22:30 UTC (rev 47284)
@@ -0,0 +1,38 @@
+--- tetex-src-3.0/texk/xdvik/configure.orig 2009-01-30 02:01:00.000000000 +0900
++++ tetex-src-3.0/texk/xdvik/configure 2009-01-30 02:05:56.000000000 +0900
+@@ -4289,7 +4289,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lt1 -lz -lm $LIBS"
++LIBS="-lt1 -lz -lc -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 4295 "configure"
+ #include "confdefs.h"
+@@ -4326,7 +4326,7 @@
+
+ fi
+
+- LIBS="-lt1 -lm $LIBS"
++ LIBS="-lt1 -lc -lm $LIBS"
+ if test "$with_system_t1lib" = yes; then
+ echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
+ echo "configure:4333: checking whether installed T1 lib is >= v 5.0.0 " >&5
+@@ -6313,7 +6313,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lm $LIBS"
++LIBS="-lc -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 6319 "configure"
+ #include "confdefs.h"
+@@ -6343,7 +6343,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lm $LIBS"
++ LIBS="-lc -lm $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
Added: trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff (rev 0)
+++ trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff 2009-02-24 20:22:30 UTC (rev 47284)
@@ -0,0 +1,15 @@
+--- ./2extract-src.sh.orig 2008-06-16 13:50:47.000000000 +0900
++++ ./2extract-src.sh 2009-02-25 03:39:56.000000000 +0900
+@@ -263,7 +263,11 @@
+
+
+ ## check
+-cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check) && exit
++if cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check); then
++ cpatch archive/dvipng-tiger-#18254.diff 1 $SRC
++ cpatch archive/xdvik-tiger-#18254.diff 1 $SRC
++ exit
++fi
+ cat <<EOF
+
+ $0: Some processes were performed improperly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090224/ac5b7db1/attachment-0001.html>
More information about the macports-changes
mailing list