Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/editors
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16391/10.7/stable/main/finkinfo/editors

Modified Files:
        lyx2.info 
Log Message:
Fix build against 10.8's X11. 


Index: lyx2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/editors/lyx2.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- lyx2.info   14 Jan 2013 16:06:24 -0000      1.10
+++ lyx2.info   27 Jan 2013 22:34:36 -0000      1.11
@@ -67,6 +67,9 @@
 <<
 CompileScript: <<
  #!/bin/sh -ev
+ if [ "%type_pkg[-ui]" = "-x11" ]
+       then export CPPFLAGS="$CPPFLAGS -I/usr/X11/include"
+ fi
  export PYTHON=/usr/bin/python
  export CCACHE_DISABLE=1
  export QT4DIR=%p/lib/qt4%type_pkg[-ui]
@@ -76,7 +79,7 @@
 InstallScript: <<
 #!/bin/sh -ev
  export PYTHON=/usr/bin/python
-if [ "%type_pkg[-ui]" == "-x11" ]; then
+if [ "%type_pkg[-ui]" = "-x11" ]; then
  make install DESTDIR=%d
  mkdir -p %i/etc/texmf.local/tex/latex
  cp -R %i/share/lyx/tex %i/etc/texmf.local/tex/latex/lyx


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to