aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgdiplus
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-02-04 22:02:30 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-02-04 22:02:30 +0000
commit6f248b47b5645a30e5c33f6a00ca283706712bd3 (patch)
treeb898936f75c991144942af3fae715c6a1f69b6eb /x11-toolkits/libgdiplus
parentb145a9dbc2cfd26bb1abcbe24b8af3cc8e383c71 (diff)
downloadports-6f248b47b5645a30e5c33f6a00ca283706712bd3.tar.gz
ports-6f248b47b5645a30e5c33f6a00ca283706712bd3.zip
Notes
Diffstat (limited to 'x11-toolkits/libgdiplus')
-rw-r--r--x11-toolkits/libgdiplus/Makefile13
-rw-r--r--x11-toolkits/libgdiplus/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/x11-toolkits/libgdiplus/Makefile b/x11-toolkits/libgdiplus/Makefile
index fe9c6962bb11..241a3ec76f39 100644
--- a/x11-toolkits/libgdiplus/Makefile
+++ b/x11-toolkits/libgdiplus/Makefile
@@ -3,13 +3,13 @@
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
-# $Id: Makefile,v 1.24 2006/02/05 03:07:29 tmclau02 Exp $
+# $Id: Makefile,v 1.32 2006/12/06 22:10:38 killfill Exp $
#
PORTNAME= libgdiplus
-PORTVERSION= 1.1.13.6
+PORTVERSION= 1.2.2
CATEGORIES= x11-toolkits
-MASTER_SITES= http://www.go-mono.com/sources/libgdiplus-1.1/
+MASTER_SITES= http://www.go-mono.com/sources/${PORTNAME}/
MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT= GDI+ API for System.Windows.Forms in Mono
@@ -20,8 +20,8 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
USE_GNOME= gnomehack gnometarget glib20
USE_GMAKE= yes
-USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
+USE_XLIB= yes
LIBTOOLFILES= configure cairo/configure
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
@@ -32,6 +32,11 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
.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
diff --git a/x11-toolkits/libgdiplus/distinfo b/x11-toolkits/libgdiplus/distinfo
index 82ca59ee47e8..5fd4eba7084e 100644
--- a/x11-toolkits/libgdiplus/distinfo
+++ b/x11-toolkits/libgdiplus/distinfo
@@ -1,3 +1,3 @@
-MD5 (libgdiplus-1.1.13.6.tar.gz) = 9177164efa8dfe8f625c240945d6a379
-SHA256 (libgdiplus-1.1.13.6.tar.gz) = 3b163d825a293b3bae54ab9cfe1819fb3fb3886428854d7099fe613177cd322e
-SIZE (libgdiplus-1.1.13.6.tar.gz) = 1281173
+MD5 (libgdiplus-1.2.2.tar.gz) = c01b803de40c70f9a009652d597c6732
+SHA256 (libgdiplus-1.2.2.tar.gz) = 1f54922c9bc9386cb116ef872a346bfb26b9dc530060dada7bf39e00f72dc0ec
+SIZE (libgdiplus-1.2.2.tar.gz) = 2968362