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

Modified Files:
        xemacs.info 
Log Message:
restore no_pie fix on both trees

Index: xemacs.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/xemacs.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- xemacs.info 27 May 2013 14:37:25 -0000      1.8
+++ xemacs.info 28 May 2013 13:13:57 -0000      1.9
@@ -51,9 +51,14 @@
 ConfigureParams: --with-dialogs=athena --with-widgets=athena --with-sound=none 
--with-database=gdbm --without-ldap --without-postgresql --with-athena=3d 
--site-prefixes=%p
 GCC: 4.0
 SetCFLAGS: -O2 -g -std=c89
-SetLDFLAGS: -Wl,-no_pie -L%p/lib
+SetLDFLAGS: -L%p/lib
 CompileScript: <<
 #!/bin/sh -ev
+# -no_pie doesn't work on 10.5
+ osversion=`uname -r | cut -d. -f1`
+ if [ $osversion -gt 9 ] ; then
+       export LDFLAGS="-Wl,-no_pie "$LDFLAGS
+ fi
  export PATH=%p/lib/xmkmf/bin:$PATH 
  export IMAKEINCLUDE=-I%p/lib/X11/config
  ./configure %c


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to