[65705] trunk/dports/security/authforce/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Mar 30 04:51:34 PDT 2010


Revision: 65705
          http://trac.macports.org/changeset/65705
Author:   ryandesign at macports.org
Date:     2010-03-30 04:51:34 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
authforce: do patching in the patch phase, and simplify

Modified Paths:
--------------
    trunk/dports/security/authforce/Portfile

Modified: trunk/dports/security/authforce/Portfile
===================================================================
--- trunk/dports/security/authforce/Portfile	2010-03-30 11:49:53 UTC (rev 65704)
+++ trunk/dports/security/authforce/Portfile	2010-03-30 11:51:34 UTC (rev 65705)
@@ -29,13 +29,13 @@
 
 use_bzip2               yes
 
+post-patch {
+    reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/configure \
+                                          ${worksrcpath}/src/extract.c \
+                                          ${worksrcpath}/src/methods.c \
+                                          ${worksrcpath}/src/misc.c
+}
+
 configure.ldflags-append -lintl
 configure.args          --mandir=${prefix}/share/man \
                         --infodir=${prefix}/share/info
-
-pre-configure {
-    reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/configure
-    reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/src/extract.c
-    reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/src/methods.c
-    reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/src/misc.c
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100330/d5bf6361/attachment.html>


More information about the macports-changes mailing list