summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-06-14 08:41:43 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-06-14 08:41:43 +0000
commit8c6540cff96ea2c8ad0af537802ef82dbcad7207 (patch)
treeb7b8634a7c0f3ee314b1325ec0f7d7d6f8e00586
parentBROKEN: Checksum mismatch (diff)
- fix build on amd64 and ia64 archs
PR: ports/112621 Submitted by: Michael Bushkov <bushman@stinger.cc.rsu.ru> (maintainer) Approved by: garga (mentor)
Notes
Notes: svn path=/head/; revision=193465
-rw-r--r--sysutils/lookupd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/lookupd/Makefile b/sysutils/lookupd/Makefile
index 59c71449ea71..067227c5cdd8 100644
--- a/sysutils/lookupd/Makefile
+++ b/sysutils/lookupd/Makefile
@@ -6,6 +6,7 @@
PORTNAME= lookupd
PORTVERSION= 0.3.c
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsu.ru/~bushman/lookupd/downloads/
@@ -30,4 +31,8 @@ post-install:
IGNORE= is only supported on FreeBSD 5.1 or later
.endif
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC
+.endif
+
.include <bsd.port.post.mk>