summaryrefslogtreecommitdiff
path: root/net/httping/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/httping/Makefile')
-rw-r--r--net/httping/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/httping/Makefile b/net/httping/Makefile
index f0cc2221109..9927b719027 100644
--- a/net/httping/Makefile
+++ b/net/httping/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2007/07/01 15:56:08 adrianp Exp $
+# $NetBSD: Makefile,v 1.6 2007/09/18 20:30:00 adrianp Exp $
#
-DISTNAME= httping-1.2.3
+DISTNAME= httping-1.2.5
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/
EXTRACT_SUFX= .tgz
@@ -10,8 +10,15 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.vanheusden.com/httping/
COMMENT= Like 'ping' but for http-requests
+.include "../../mk/bsd.prefs.mk"
+
LDFLAGS.SunOS= -lnsl -lsocket
+.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[123]*)) || ${OPSYS} == "Darwin"
+.else
+CFLAGS+= -DHAVE_STRNDUP
+.endif
+
do-install:
${INSTALL_MAN} ${WRKSRC}/httping.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_PROGRAM} ${WRKSRC}/httping ${PREFIX}/bin