aboutsummaryrefslogtreecommitdiffstats
path: root/dns/inadyn
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-21 01:08:15 +0800
committergarga <garga@FreeBSD.org>2005-09-21 01:08:15 +0800
commit60d0c34b8289a4f12c9198756d12ebebd7508625 (patch)
treec9a1b9708fc393a8969995e18a14a98025e54c81 /dns/inadyn
parent279f7b239ea0a443b2a40178dcdc833f40ccafa6 (diff)
downloadfreebsd-ports-gnome-60d0c34b8289a4f12c9198756d12ebebd7508625.tar.gz
freebsd-ports-gnome-60d0c34b8289a4f12c9198756d12ebebd7508625.tar.zst
freebsd-ports-gnome-60d0c34b8289a4f12c9198756d12ebebd7508625.zip
- Respect CC
- Unbreak on 4.x Discussed with: maintainer
Diffstat (limited to 'dns/inadyn')
-rw-r--r--dns/inadyn/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/dns/inadyn/Makefile b/dns/inadyn/Makefile
index 48d5f491c7bd..feef5f4dd3a2 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>