mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
14 lines
307 B
Plaintext
14 lines
307 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
paths="/sys /usr/include /usr/src/sys"
|
||
|
for i in ${paths}; do
|
||
|
if [ -f $i/netinet/ip_nat.h ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
done
|
||
|
echo Unable find netinet/ip_nat.h
|
||
|
echo This header file from ipfilter package
|
||
|
echo Try to locate ip_nat.h and manually create links in following catalogs:
|
||
|
echo $paths
|
||
|
exit 1
|