summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-20 17:08:15 +0000
committergarga <garga@FreeBSD.org>2005-09-20 17:08:15 +0000
commit60d0c34b8289a4f12c9198756d12ebebd7508625 (patch)
treec9a1b9708fc393a8969995e18a14a98025e54c81
parent279f7b239ea0a443b2a40178dcdc833f40ccafa6 (diff)
downloadFreeBSD-ports-60d0c34b8289a4f12c9198756d12ebebd7508625.zip
FreeBSD-ports-60d0c34b8289a4f12c9198756d12ebebd7508625.tar.gz
- Respect CC
- Unbreak on 4.x Discussed with: maintainer
-rw-r--r--dns/inadyn/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/dns/inadyn/Makefile b/dns/inadyn/Makefile
index 48d5f49..feef5f4 100644
--- a/dns/inadyn/Makefile
+++ b/dns/inadyn/Makefile
@@ -16,8 +16,10 @@ MAINTAINER= samm@os2.kiev.ua
COMMENT= INADYN - Simple DYNAMIC DNS client
WRKSRC= ${WRKDIR}/inadyn
+USE_GCC= 3.4
USE_ZIP= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
MAKEFILE= makefile
MAN8= inadyn.8
@@ -29,6 +31,9 @@ PLIST_FILES= bin/inadyn
NO_INSTALL_MANPAGES=yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|$$\(CC\)|g' ${WRKSRC}/makefile
+
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@@ -38,10 +43,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Doesn't build on 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud