Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 09:19:40 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337403 - in head/misc/magicpoint: . files
Message-ID:  <201312250919.rBP9JeqG044858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Wed Dec 25 09:19:40 2013
New Revision: 337403
URL: http://svnweb.freebsd.org/changeset/ports/337403

Log:
  Fix build with freetype 2.5.2.
  
  I forgot this in the big update yesterday.

Added:
  head/misc/magicpoint/files/patch-mgp.h   (contents, props changed)
Modified:
  head/misc/magicpoint/Makefile

Modified: head/misc/magicpoint/Makefile
==============================================================================
--- head/misc/magicpoint/Makefile	Wed Dec 25 08:20:15 2013	(r337402)
+++ head/misc/magicpoint/Makefile	Wed Dec 25 09:19:40 2013	(r337403)
@@ -68,6 +68,8 @@ post-configure:
 		${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}
 	cd ${WRKSRC}/contrib/xmindpath && \
 		${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX}
+	@${REINPLACE_CMD} -e 's|freetype1/freetype|freetype1|g' \
+		${WRKSRC}/Makefile ${WRKSRC}/image/Makefile
 
 post-build:
 	cd ${WRKSRC}/contrib/xmindpath && \

Added: head/misc/magicpoint/files/patch-mgp.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/magicpoint/files/patch-mgp.h	Wed Dec 25 09:19:40 2013	(r337403)
@@ -0,0 +1,11 @@
+--- mgp.h.orig	2013-12-25 10:03:40.000000000 +0100
++++ mgp.h	2013-12-25 10:05:28.000000000 +0100
+@@ -91,7 +91,7 @@
+ #endif /* end of VFLIB */
+ 
+ #ifdef FREETYPE
+-#include "freetype.h"
++#include "freetype/freetype.h"
+ 
+ #ifndef FREETYPEFONTDIR
+ #define FREETYPEFONTDIR	"/usr/local/share/fonts/ttf"



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