Lines 21-28
Link Here
|
21 |
|
21 |
|
22 |
.include <bsd.port.pre.mk> |
22 |
.include <bsd.port.pre.mk> |
23 |
|
23 |
|
24 |
.if ${OSVERSION} < 500000 |
24 |
# 5.3 is the first version to have round(). |
25 |
IGNORE= does not build under 4.x |
25 |
.if ${OSVERSION} < 503001 |
|
|
26 |
IGNORE= does not build under 5.2 and older (no round()) |
27 |
.endif |
28 |
|
29 |
# 5.3 and up do not have a new enough libpcap but does have round(). |
30 |
# 6.0 and up have both a new enough libpcap and round(). |
31 |
.if ${OSVERSION} >= 503001 && ${OSVERSION} < 600100 |
32 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap |
26 |
.endif |
33 |
.endif |
27 |
|
34 |
|
28 |
.include <bsd.port.post.mk> |
35 |
.include <bsd.port.post.mk> |