summaryrefslogtreecommitdiff
path: root/net/hawknl/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-03-30 18:20:39 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-03-30 18:20:39 +0000
commitb3eed35dfd0d13117210be455fda4a1aa3b97d28 (patch)
tree193a2fab9d9b2b6e38f26f0a6fdc35e41a240c03 /net/hawknl/Makefile
parent. Update to 1.3.1_18. (diff)
Fix build on amd64 and ia64 adding -fPIC and -DPIC
Reported by: krismail
Notes
Notes: svn path=/head/; revision=158426
Diffstat (limited to 'net/hawknl/Makefile')
-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