aboutsummaryrefslogtreecommitdiff
path: root/net/hawknl
diff options
context:
space:
mode:
Diffstat (limited to 'net/hawknl')
-rw-r--r--net/hawknl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/hawknl/Makefile b/net/hawknl/Makefile
index dd286fceb1bb..b4719c064063 100644
--- a/net/hawknl/Makefile
+++ b/net/hawknl/Makefile
@@ -31,6 +31,10 @@ OPTIONS= OPTIMIZATION "Enable optimization" off
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC -DPIC
+.endif
+
.if ${OSVERSION} < 500000
BROKEN= Doesn't build on < 5.x
.endif