[40317] trunk/dports/net/arpwatch/Portfile
pmq at macports.org
pmq at macports.org
Mon Sep 29 05:37:10 PDT 2008
Revision: 40317
http://trac.macports.org/changeset/40317
Author: pmq at macports.org
Date: 2008-09-29 05:37:09 -0700 (Mon, 29 Sep 2008)
Log Message:
-----------
Link with MacPorts' libpcap. Partially solves #16670.
Modified Paths:
--------------
trunk/dports/net/arpwatch/Portfile
Modified: trunk/dports/net/arpwatch/Portfile
===================================================================
--- trunk/dports/net/arpwatch/Portfile 2008-09-29 12:17:56 UTC (rev 40316)
+++ trunk/dports/net/arpwatch/Portfile 2008-09-29 12:37:09 UTC (rev 40317)
@@ -23,11 +23,14 @@
livecheck.regex ">${name}-(.*?)<"
livecheck.version 2.1.a15_4
+depends_lib port:libpcap
+
+pre-configure {
+ reinplace "s|INCLS = -I.|INCLS = -I. -I${prefix}/include|" ${worksrcpath}/Makefile.in
+ reinplace "s|LIBS = @LIBS@|LIBS = -L${prefix}/lib @LIBS@|" ${worksrcpath}/Makefile.in
+}
configure.cflags-append "-DBIND_8_COMPAT=1"
configure.args --mandir=${prefix}/share/man
-post-configure {
- reinplace "s|-o bin -g bin||g" ${worksrcpath}/Makefile
-}
build.env ARPDIR=${prefix}/var/arpwatch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080929/9f9a2946/attachment.html
More information about the macports-changes
mailing list