[90549] trunk/dports/graphics/sane-backends/Portfile
dports at macports.org
dports at macports.org
Thu Mar 8 12:00:28 PST 2012
Revision: 90549
http://trac.macports.org/changeset/90549
Author: dports at macports.org
Date: 2012-03-08 12:00:28 -0800 (Thu, 08 Mar 2012)
Log Message:
-----------
sane-backends: strip archflags from sane-config output (#29207)
Modified Paths:
--------------
trunk/dports/graphics/sane-backends/Portfile
Modified: trunk/dports/graphics/sane-backends/Portfile
===================================================================
--- trunk/dports/graphics/sane-backends/Portfile 2012-03-08 19:55:59 UTC (rev 90548)
+++ trunk/dports/graphics/sane-backends/Portfile 2012-03-08 20:00:28 UTC (rev 90549)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,7 +5,7 @@
name sane-backends
version 1.0.22
-revision 1
+revision 2
set download_id 3503
categories graphics
platforms darwin
@@ -43,6 +44,12 @@
--disable-latex \
--without-gphoto2
+post-configure {
+ reinplace -E {s|-arch [a-z0-9_]+||g} \
+ ${worksrcpath}/tools/sane-config \
+ ${worksrcpath}/tools/sane-backends.pc
+}
+
use_parallel_build yes
pre-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120308/37b269ad/attachment.html>
More information about the macports-changes
mailing list