diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 10:56:10 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 10:56:10 +0000 |
commit | 4ff194bca564df2de75f9c29c20a80964a73cd70 (patch) | |
tree | cf97e442aecf4cce564e5a17bea2fe54c5c68d8b /benchmarks/nbench | |
parent | 9f5526633823e66685a367736b2f4468ca3bf170 (diff) | |
download | pkgsrc-4ff194bca564df2de75f9c29c20a80964a73cd70.tar.gz |
On SunOS, static linking is unsupported since 5.10, and it always was on
64bit platforms.
Diffstat (limited to 'benchmarks/nbench')
-rw-r--r-- | benchmarks/nbench/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/nbench/Makefile b/benchmarks/nbench/Makefile index fa6bb448015..c0fd1c28652 100644 --- a/benchmarks/nbench/Makefile +++ b/benchmarks/nbench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2009/06/30 00:07:10 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2012/02/16 10:56:10 hans Exp $ # DISTNAME= nbench-byte-2.2.2 @@ -18,6 +18,12 @@ BUILD_TARGET= default INSTALLATION_DIRS= bin +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" && \ + (!empty(OS_VERSION:M5.1*) || ${ABI} == 64) +BUILDLINK_TRANSFORM+= rm:-static +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${DESTDIR}${PREFIX}/bin |