Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 21:31:08 +0100
From:      James Raftery <james@now.ie>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111742: [maintainer patch] Fix mail/p5-vpopmail port build on ia64
Message-ID:  <20070416203108.GA57147@morbo.kerna.ie>
Resent-Message-ID: <200704162040.l3GKe3Qg095373@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070416203108.GA57147>