[21285] trunk/dports/python/py-pcapy
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jan 19 10:04:09 PST 2007
Revision: 21285
http://trac.macosforge.org/projects/macports/changeset/21285
Author: markd at macports.org
Date: 2007-01-19 10:04:09 -0800 (Fri, 19 Jan 2007)
Log Message:
-----------
Closes #10970. Fix compiler flags and remove patch to fix patching LF file issues.
Modified Paths:
--------------
trunk/dports/python/py-pcapy/Portfile
Removed Paths:
-------------
trunk/dports/python/py-pcapy/files/
Modified: trunk/dports/python/py-pcapy/Portfile
===================================================================
--- trunk/dports/python/py-pcapy/Portfile 2007-01-19 16:20:52 UTC (rev 21284)
+++ trunk/dports/python/py-pcapy/Portfile 2007-01-19 18:04:09 UTC (rev 21285)
@@ -4,6 +4,7 @@
PortGroup python24 1.0
name py-pcapy
version 0.10.4
+revision 1
categories-append net
maintainers nomaintainer at macports.org
description python interface to libpcap
@@ -22,13 +23,10 @@
depends_lib-append port:libpcap
-patchfiles patch-setup.py
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
-}
+build.env CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
+ CFLAGS=-I${prefix}/include \
+ LDFLAGS=-L${prefix}/lib
-build.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-I${prefix}/lib"
-
post-destroot {
xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
eval file rename [glob ${destroot}/${prefix}/share/doc/pcapy/*] \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070119/e6746143/attachment.html
More information about the macports-changes
mailing list