Maintainer update: www/opal fix build error on amd64

Jean-Baptiste Quenot jbq at caraldi.com
Thu Apr 20 14:39:17 UTC 2006


>Submitter-Id:	current-users
>Originator:	Jean-Baptiste Quenot
>Confidential:	no
>Synopsis:	Maintainer update: www/opal fix build error on amd64
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		maintainer-update
>Release:	FreeBSD 5.5-PRERELEASE i386
>Environment:
System: FreeBSD vision.anyware 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Thu Mar 9 19:20:53 CET 2006 jbq at vision.anyware:/usr/obj/usr/src/sys/VISION i386
>Description:
See http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.6.2006022322/opal-2.2.1_1.log
>Fix:
diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.*.sw* --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/net/opal/Makefile ./Makefile
--- /usr/ports/net/opal/Makefile	Wed Apr 12 00:11:02 2006
+++ ./Makefile	Thu Apr 20 16:32:11 2006
@@ -35,6 +35,11 @@
 
 .if ${OSVERSION} < 500000
 BROKEN=		Does not build on FreeBSD 4.x, if you manage to make it work, please send a patch to the maintainer: ${MAINTAINER}
+.endif
+
+# Avoid build error on amd64: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
+.if (${ARCH} == "amd64")
+CFLAGS+=	-fPIC
 .endif
 
 .ifdef (WITH_FFMPEG)


More information about the freebsd-gnome mailing list