[Bsd-sharp-cvs] CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/x11-toolkits/libgdiplus by killfill

noreply at forge.novell.com noreply at forge.novell.com
Mon Oct 9 18:41:07 MDT 2006


CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/x11-toolkits/libgdiplus by killfill

Modified Files:
	Makefile 
Log Message:
Add -fPIC for 64bit plataforms

===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/x11-toolkits/libgdiplus/Makefile,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- /cvsroot/bsd-sharp/FreeBSD-ports/x11-toolkits/libgdiplus/Makefile	2006/10/08 04:01:03	1.27
+++ /cvsroot/bsd-sharp/FreeBSD-ports/x11-toolkits/libgdiplus/Makefile	2006/10/10 00:41:07	1.28
@@ -3,11 +3,12 @@
 # Whom:				Tom McLaughlin <tmclaugh at sdf.lonestar.org>
 #
 # $FreeBSD: ports/x11-toolkits/libgdiplus/Makefile,v 1.4 2006/07/31 00:10:55 tmclaugh Exp $
-#   $Id: Makefile,v 1.27 2006/10/08 04:01:03 tmclau02 Exp $
+#   $Id: Makefile,v 1.28 2006/10/10 00:41:07 killfill Exp $
 #
 
 PORTNAME=	libgdiplus
 PORTVERSION=	1.1.17
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://www.go-mono.com/sources/libgdiplus-1.1/
 
@@ -32,6 +33,11 @@
 
 .include <bsd.port.pre.mk>
 
+# Avoid build error on 64-bit architectures
+.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
+CFLAGS+=        -fPIC
+.endif
+
 .if ${OSVERSION} < 503000
 IGNORE= does not build and is useless without working Mono
 .endif


More information about the Bsd-sharp-cvs mailing list