ports/106546: net/sipp: Fix build on ia64

Shaun Amott shaun at FreeBSD.org
Sun Dec 10 00:10:48 UTC 2006


>Number:         106546
>Category:       ports
>Synopsis:       net/sipp: Fix build on ia64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 10 00:10:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:

>Description:

Fix build on ia64.

The program runs, but I haven't tested it beyond that.

>How-To-Repeat:

>Fix:

--- sipp.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/sipp/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	10 Sep 2006 20:39:34 -0000	1.11
+++ Makefile	10 Dec 2006 00:02:13 -0000
@@ -22,14 +22,16 @@
 
 .include <bsd.port.pre.mk>
 
-.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
--- sipp.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list