summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ipf/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ipf/Makefile.inc b/sbin/ipf/Makefile.inc
index 79bdb8e..c4c44be 100644
--- a/sbin/ipf/Makefile.inc
+++ b/sbin/ipf/Makefile.inc
@@ -18,7 +18,9 @@ CFLAGS+= -DUSE_INET6
CFLAGS+= -DNOINET6
.endif
+.if ${.CURDIR:M*/libipf} == ""
LIBADD+= ipf
+.endif
CLEANFILES+= y.tab.c y.tab.h
OpenPOWER on IntegriCloud