diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-09-30 19:51:42 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-09-30 19:51:42 +0000 |
commit | c414238f4b44e234a9c43b567853e0a46ddc0867 (patch) | |
tree | 8d4b75cab31ad55db8a112dfccf40938d0166a3a /benchmarks | |
parent | 7e04ad57e49c5971d0902bd2b16f7f254b5a006d (diff) | |
download | ports-c414238f4b44e234a9c43b567853e0a46ddc0867.tar.gz ports-c414238f4b44e234a9c43b567853e0a46ddc0867.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/sipp/Makefile | 2 | ||||
-rw-r--r-- | benchmarks/sipp/files/patch-Makefile | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile index 24e49856feac..f5dfd9aaf93f 100644 --- a/benchmarks/sipp/Makefile +++ b/benchmarks/sipp/Makefile @@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/sipp MAN1= sipp.1 +MAKE_ENV= CPP="${CXX}" CPPFLAGS="${CXXFLAGS}" CCLINK="${CXX}" + .include <bsd.port.pre.mk> .if ${ARCH} == "ia64" diff --git a/benchmarks/sipp/files/patch-Makefile b/benchmarks/sipp/files/patch-Makefile new file mode 100644 index 000000000000..3ff53349ff04 --- /dev/null +++ b/benchmarks/sipp/files/patch-Makefile @@ -0,0 +1,50 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -64,7 +64,7 @@ + CC_tru64=cc + CC_SunOS=gcc + CC_Cygwin=cc +-CC=$(CC_$(SYSTEM)) ++CC?=$(CC_$(SYSTEM)) + + # C++ compiler mapping + CPP_hpux=aCC +@@ -73,7 +73,7 @@ + CPP_tru64=cxx + CPP_SunOS=g++ + CPP_Cygwin=g++ +-CPP=$(CPP_$(SYSTEM)) ++CPP?=$(CPP_$(SYSTEM)) + + #Model specific flags + MFLAGS_ia64=+DD64 +@@ -94,7 +94,7 @@ + CFLAGS_tru64=-D__OSF1 -pthread + CFLAGS_SunOS=-g + CFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int +-CFLAGS=$(CFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) ++CFLAGS+=$(CFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) + + #C++ Compiler Flags + CPPFLAGS_hpux=-AA -mt -D__HPUX +W829 +@@ -103,7 +103,7 @@ + CPPFLAGS_tru64=-D__OSF1 -pthread + CPPFLAGS_SunOS=-g + CPPFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int +-CPPFLAGS=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) ++CPPFLAGS+=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) + + #Linker mapping + CCLINK_hpux=aCC +@@ -112,7 +112,7 @@ + CCLINK_tru64=cxx + CCLINK_SunOS=gcc + CCLINK_Cygwin=g++ +-CCLINK=$(CCLINK_$(SYSTEM)) ++CCLINK?=$(CCLINK_$(SYSTEM)) + + #Linker Flags + LFLAGS_hpux=-AA -mt |