pkgsrc/net/bing/Makefile

39 lines
905 B
Makefile
Raw Normal View History

2004-02-21 08:27:16 +01:00
# $NetBSD: Makefile,v 1.17 2004/02/21 07:27:16 snj Exp $
# FreeBSD Id: Makefile,v 1.2 1997/10/13 09:14:49 tg Exp
#
DISTNAME= bing-1.0.4
CATEGORIES= net
MASTER_SITES= ftp://ftp.ibp.fr/pub/networking/
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cnam.fr/reseau/bing.html
2004-02-21 08:27:16 +01:00
COMMENT= Bing is a point-to-point bandwidth measurement tool
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LDFLAGS+= -lsocket -lnsl
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bing
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bing
.include "../../mk/bsd.pkg.mk"
# XXX On NetBSD the gcc-2.95.3 for:
# XXX
2003-03-28 21:28:56 +01:00
# XXX alpha
# XXX
# XXX has an optimization bug when compiling with -O2 that is tickled by
# XXX ${WRKSRC}/bing.c
#
.if ${OPSYS} == "NetBSD"
. if (${MACHINE_ARCH} == "alpha")
2003-03-28 21:28:56 +01:00
CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*//g}
CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
. endif
.endif