[121670] trunk/dports/aqua/LyX

khindenburg at macports.org khindenburg at macports.org
Thu Jul 3 17:48:57 PDT 2014


Revision: 121670
          https://trac.macports.org/changeset/121670
Author:   khindenburg at macports.org
Date:     2014-07-03 17:48:57 -0700 (Thu, 03 Jul 2014)
Log Message:
-----------
lyx: update to 2.1.0 - change to depend on texlive-latex to avoid errors about missing .cls files

Modified Paths:
--------------
    trunk/dports/aqua/LyX/Portfile

Added Paths:
-----------
    trunk/dports/aqua/LyX/files/patch-config.h.in.diff

Modified: trunk/dports/aqua/LyX/Portfile
===================================================================
--- trunk/dports/aqua/LyX/Portfile	2014-07-04 00:15:08 UTC (rev 121669)
+++ trunk/dports/aqua/LyX/Portfile	2014-07-04 00:48:57 UTC (rev 121670)
@@ -6,7 +6,7 @@
 
 name                LyX
 conflicts           LyX1
-version             2.0.8
+version             2.1.0
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          aqua
 license             GPL-2+
@@ -23,7 +23,7 @@
 
 depends_build-append    port:bison port:gawk port:cctools \
                         port:aspell port:hunspell
-depends_lib-append      bin:tex:texlive-basic \
+depends_lib-append      port:texlive-latex \
                         port:ImageMagick \
                         port:boost
 
@@ -36,11 +36,10 @@
                     ftp://ftp.lyx.org/pub/lyx/stable/${branch}.x/ \
                     http://gd.tuwien.ac.at/publishing/tex/lyx/stable/${branch}.x/
 
-checksums           rmd160  6ab1e15ade2100a75020ef85b42f7a346f5ebe63 \
-                    sha256  b4bd32cf5f2c374b1ff88b69b53db0a2ba840942df0c3886b295fb2020683b5e
+checksums           rmd160  8219040053c3bff490db5562930bb59091ad6b1c \
+                    sha256  f1c9a4f2387e38efee43c0684b4f6fc0972f68d6cb2ad06a1b30c58a81f22d48
 
-patchfiles          patch-types.diff \
-                    patch-libc++_compliance.diff
+patchfiles          patch-config.h.in.diff
 
 configure.pre_args  --prefix=${applications_dir}/LyX.app
 configure.args      --with-frontend=qt4 --without-x --with-included-gettext --without-included-boost \
@@ -71,9 +70,9 @@
 }
 
 post-configure {
-    reinplace -E \
-        "s|mkdir -p \\\$\\(pkgdatadir\\)|\
-           mkdir -p \\\$\\(DESTDIR\\)\\\$\\(pkgdatadir\\)|" \
+    reinplace \
+        "s|\$(MKDIR_P) \$(pkgdatadir)|\
+           \$(MKDIR_P) \$(DESTDIR)\$(pkgdatadir)|" \
         ${worksrcpath}/development/MacOSX/Makefile
 }
 

Added: trunk/dports/aqua/LyX/files/patch-config.h.in.diff
===================================================================
--- trunk/dports/aqua/LyX/files/patch-config.h.in.diff	                        (rev 0)
+++ trunk/dports/aqua/LyX/files/patch-config.h.in.diff	2014-07-04 00:48:57 UTC (rev 121670)
@@ -0,0 +1,11 @@
+--- config.h.in.orig   2013-10-20 20:37:35.000000000 +0300
++++ config.h.in        2013-10-20 20:38:41.000000000 +0300
+@@ -633,7 +633,7 @@
+ 
+ // TR1 regex not supported in GCC <= 4.5
+ #ifndef LYX_USE_TR1
+-#  if __GNUC__ == 4 
++#  if 0
+ #    define LYX_USE_TR1
+ #  endif
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140703/5f2d425c/attachment.html>


More information about the macports-changes mailing list