[45176] trunk/dports/textproc/ispell/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Fri Jan 9 13:18:20 PST 2009


Revision: 45176
          http://trac.macports.org/changeset/45176
Author:   mcalhoun at macports.org
Date:     2009-01-09 13:18:19 -0800 (Fri, 09 Jan 2009)
Log Message:
-----------
ispell: Prevent destroot from being listed as installation directory.
Fixes #17941.

Modified Paths:
--------------
    trunk/dports/textproc/ispell/Portfile

Modified: trunk/dports/textproc/ispell/Portfile
===================================================================
--- trunk/dports/textproc/ispell/Portfile	2009-01-09 20:52:23 UTC (rev 45175)
+++ trunk/dports/textproc/ispell/Portfile	2009-01-09 21:18:19 UTC (rev 45176)
@@ -22,5 +22,10 @@
             reinplace s|/man/|/share/man/|g ${worksrcpath}/local.h
             reinplace s|\"-lcurses\"|\"-L${prefix}/lib\ -lncurses\"| ${worksrcpath}/local.h
             reinplace s|\"cc\"|\"${configure.cc}\"| ${worksrcpath}/config.X
-            reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/local.h
+            reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/local.h
 }
+
+pre-destroot {
+            reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/config.sh
+            reinplace "s|-L${destroot}${prefix}|-L${prefix}|g" ${worksrcpath}/config.sh
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090109/289015a7/attachment.html>


More information about the macports-changes mailing list