[72025] trunk/dports/graphics/feh/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Sep 30 10:02:00 PDT 2010


Revision: 72025
          http://trac.macports.org/changeset/72025
Author:   jeremyhu at macports.org
Date:     2010-09-30 10:01:59 -0700 (Thu, 30 Sep 2010)
Log Message:
-----------
feh: Don't link against system X11 libs. #26666

Modified Paths:
--------------
    trunk/dports/graphics/feh/Portfile

Modified: trunk/dports/graphics/feh/Portfile
===================================================================
--- trunk/dports/graphics/feh/Portfile	2010-09-30 17:00:28 UTC (rev 72024)
+++ trunk/dports/graphics/feh/Portfile	2010-09-30 17:01:59 UTC (rev 72025)
@@ -3,7 +3,7 @@
 PortSystem			1.0
 name				feh
 version				1.3.4
-revision            2
+revision			3
 categories			graphics
 maintainers			cs.dartmouth.edu:tristan
 description			Fast lightweight image viewer
@@ -20,7 +20,15 @@
 
 depends_lib			port:giblib port:imlib2 port:jpeg port:libpng port:zlib
 
-configure.args		--mandir=${prefix}/share/man
+use_autoreconf yes
+autoreconf.args -fvi
 
+patch {
+	reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/configure.ac
+	reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/configure.in
+	reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/Makefile.am
+	reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/src/Makefile.am
+}
+
 destroot.args		docsdir=${prefix}/share/doc/${name}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100930/77313395/attachment.html>


More information about the macports-changes mailing list