From 12105b68c940e85c52153e17b4d18c93c46a70b5 Mon Sep 17 00:00:00 2001 From: Shaun Amott Date: Sun, 10 Dec 2006 23:43:44 +0000 Subject: [PATCH] Fix build on ia64. PR: ports/106546 Submitted by: shaun (me) Approved by: Artem Naluzhny (maintainer) --- benchmarks/sipp/Makefile | 10 ++++++---- net/sipp/Makefile | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile index 50d86e9a5174..6b3e5dab38b2 100644 --- a/benchmarks/sipp/Makefile +++ b/benchmarks/sipp/Makefile @@ -22,14 +22,16 @@ MAKE_ENV+= CPP="${CXX}" CPPFLAGS="${CXXFLAGS}" CCLINK="${CXX}" .include -.if ${ARCH} == "ia64" -BROKEN= Does not compile - patch needed by someone who can test it -.endif - .if !defined(WITHOUT_DIGEST_AUTH) ALL_TARGET=ossl .endif +post-patch: +.if ${ARCH} == "ia64" + @${REINPLACE_CMD} -e 's/^\(MFLAGS_ia64=\)\+DD64$$/\1/' \ + ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/sipp.1 ${PREFIX}/man/man1 diff --git a/net/sipp/Makefile b/net/sipp/Makefile index 50d86e9a5174..6b3e5dab38b2 100644 --- a/net/sipp/Makefile +++ b/net/sipp/Makefile @@ -22,14 +22,16 @@ MAKE_ENV+= CPP="${CXX}" CPPFLAGS="${CXXFLAGS}" CCLINK="${CXX}" .include -.if ${ARCH} == "ia64" -BROKEN= Does not compile - patch needed by someone who can test it -.endif - .if !defined(WITHOUT_DIGEST_AUTH) ALL_TARGET=ossl .endif +post-patch: +.if ${ARCH} == "ia64" + @${REINPLACE_CMD} -e 's/^\(MFLAGS_ia64=\)\+DD64$$/\1/' \ + ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/sipp.1 ${PREFIX}/man/man1