mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +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
|