[57419] trunk/dports/sysutils/sqsh/Portfile

dh at macports.org dh at macports.org
Thu Sep 10 19:23:26 PDT 2009


Revision: 57419
          http://trac.macports.org/changeset/57419
Author:   dh at macports.org
Date:     2009-09-10 19:23:22 -0700 (Thu, 10 Sep 2009)
Log Message:
-----------
Pass LDFLAGS through to makefile, closing ticket #21103

Modified Paths:
--------------
    trunk/dports/sysutils/sqsh/Portfile

Modified: trunk/dports/sysutils/sqsh/Portfile
===================================================================
--- trunk/dports/sysutils/sqsh/Portfile	2009-09-11 02:17:48 UTC (rev 57418)
+++ trunk/dports/sysutils/sqsh/Portfile	2009-09-11 02:23:22 UTC (rev 57419)
@@ -22,6 +22,10 @@
 
 depends_lib         port:readline port:freetds
 
+post-patch {
+	reinplace "s|LDFLAGS        =|LDFLAGS        = @LDFLAGS@|g" ${worksrcpath}/src/Makefile.in
+}
+
 configure.env       SYBASE=${prefix} CPPFLAGS=-I${prefix}/include/freetds INCDIRS=${prefix}/include LIBDIRS=${prefix}/lib
 configure.args      --with-readline --mandir=${prefix}/share/man
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090910/ef7fcca2/attachment.html>


More information about the macports-changes mailing list