aboutsummaryrefslogtreecommitdiff
path: root/net/libdnet/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-01-30 19:32:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-01-30 19:32:35 +0000
commit7ca2d2d6b53f954df9eee0710ae49d1fc1d2bc41 (patch)
treebadeebdc0cc3a55e8d7c8be57901bfe413dcd8f4 /net/libdnet/Makefile
parent29553d328c8ff57d23cfb70178185afb00c0fbd4 (diff)
downloadports-7ca2d2d6b53f954df9eee0710ae49d1fc1d2bc41.tar.gz
ports-7ca2d2d6b53f954df9eee0710ae49d1fc1d2bc41.zip
Notes
Diffstat (limited to 'net/libdnet/Makefile')
-rw-r--r--net/libdnet/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index 8c4dee470264..7c928966a314 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -52,6 +52,9 @@ pre-everything::
@sleep 2
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+
post-build:
@cd ${WRKSRC}/src ; ${CC} ${CFLAGS} -shared -o libdnet.so .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-bsd.o