pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/iperf bl3ify.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1097a7f08579
branches: trunk
changeset: 472791:1097a7f08579
user: seb <seb%pkgsrc.org@localhost>
date: Mon Apr 12 13:36:37 2004 +0000
description:
bl3ify.
Require gcc3 on NetBSD/sparc64.
Use INSTALLATION_DIRS.
Install one file at a time.
USE_LANGUAGES instead of USE_GCC_SHLIB.
Claim stewardship.
diffstat:
net/iperf/Makefile | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r 96a567a4d0a7 -r 1097a7f08579 net/iperf/Makefile
--- a/net/iperf/Makefile Mon Apr 12 13:01:52 2004 +0000
+++ b/net/iperf/Makefile Mon Apr 12 13:36:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:22:19 agc Exp $
+# $NetBSD: Makefile,v 1.9 2004/04/12 13:36:37 seb Exp $
#
DISTNAME= iperf-1.7.0-source
@@ -6,25 +6,32 @@
CATEGORIES= net
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
-MAINTAINER= tech-pkg%NetBSD.org@localhost
+MAINTAINER= seb%NetBSD.org@localhost
HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
COMMENT= TCP and UDP bandwidth performance measurement tool
-NOT_FOR_PLATFORM= *-*-sparc64 # internal g++ error
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
+GCC_REQD+= 3.0
+.endif
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
CONFIGURE_DIRS= ${WRKSRC}/cfg
INSTALL_DIRS= ${WRKSRC}/src
GNU_CONFIGURE= YES
MAKE_ENV+= INSTALL_DIR=${PREFIX}/bin
-USE_GCC_SHLIB= YES
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+= share/doc/html/${PKGBASE}
PTHREAD_OPTS= native optional
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/html/${PKGBASE}
+ for f in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/share/doc/html/${PKGBASE}; \
+ done
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index