ports/111742: [maintainer patch] Fix mail/p5-vpopmail port build on ia64

James Raftery james at now.ie
Mon Apr 16 20:40:03 UTC 2007


>Number:         111742
>Category:       ports
>Synopsis:       [maintainer patch] Fix mail/p5-vpopmail port build on ia64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 16 20:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     James Raftery
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD morbo.kerna.ie 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Feb 5 12:13:08 GMT 2007 root at morbo.kerna.ie:/usr/obj/usr/src/sys/MORBO i386


>Description:

	Linker errors during port build on IA64. See:
	http://pointyhat.freebsd.org/errorlogs/ia64-7-latest/p5-vpopmail-0.08.log

>How-To-Repeat:

	`cd /usr/ports/mail/p5-vpopmail && make build' on IA64.

>Fix:

	Patch below. Be aware that I don't have access to an IA64 system to verify
	this patch.

	Thanks!

--- p5-vpopmail-amd64.patch begins here ---
diff -ruN p5-vpopmail.orig/Makefile p5-vpopmail/Makefile
--- p5-vpopmail.orig/Makefile	Fri Oct 24 13:02:44 2003
+++ p5-vpopmail/Makefile	Mon Apr 16 21:06:51 2007
@@ -25,4 +25,10 @@
 
 MAN3=		vpopmail.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64"
+CFLAGS+=	-fPIC
+.endif
+
+.include <bsd.port.post.mk>
--- p5-vpopmail-amd64.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list