summaryrefslogtreecommitdiff
path: root/dns/dhisd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dhisd/Makefile')
-rw-r--r--dns/dhisd/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile
index 3b228f628009..52253abb6edc 100644
--- a/dns/dhisd/Makefile
+++ b/dns/dhisd/Makefile
@@ -14,14 +14,11 @@ MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
MAINTAINER= marius@FreeBSD.org
COMMENT= DHIS server for dynamic updates on the server using specific engines
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500023
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
+
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
-MAKE_ENV+= LDFLAGS="${LDFLAGS}"
-.endif
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
@@ -77,4 +74,4 @@ post-install:
.endif
@${ECHO} "--------------------------------------------------------------------------"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>