Lines 17-30
Link Here
|
17 |
|
17 |
|
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ARGS= --program-prefix=xbox |
19 |
CONFIGURE_ARGS= --program-prefix=xbox |
20 |
USE_GMAKE= yes |
|
|
21 |
|
20 |
|
22 |
PLIST_FILES= bin/xboxproxy |
21 |
PLIST_FILES= bin/xboxproxy |
23 |
|
22 |
|
24 |
.include <bsd.port.pre.mk> |
23 |
.include <bsd.port.pre.mk> |
25 |
|
24 |
|
26 |
.if ${OSVERSION} < 500000 |
25 |
.if ${OSVERSION} < 500000 |
27 |
BROKEN= "Doesn't build on FreeBSD < 5.x" |
26 |
# FreeBSD 4.x requires the libpcap port |
|
|
27 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap |
28 |
# Without this, configure picks up the pcap lib in /usr/lib |
29 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include" LDFLAGS="-L${LOCALBASE}/lib -L/usr/lib" |
30 |
CONFIGURE_ARGS+= --with-libpcap=${LOCALBASE} |
28 |
.endif |
31 |
.endif |
29 |
|
32 |
|
30 |
.include <bsd.port.post.mk> |
33 |
.include <bsd.port.post.mk> |