Added patch to allow ftgl to build cleanly, patch from michaelvoliveira

This commit is contained in:
Scott McCreary
2010-06-19 20:56:27 +00:00
parent 756a0eadd8
commit 287ae93e58
2 changed files with 24 additions and 5 deletions

View File

@@ -1,11 +1,11 @@
DESCRIPTION="FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications"
HOMEPAGE="http://www.ohloh.net/p/ftgl"
HOMEPAGE="http://sourceforge.net/projects/ftgl"
SRC_URI="http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz"
CHECKSUM_MD5="fcf4d0567b7de9875d4e99a9f7423633"
REVISION="2"
REVISION="3"
STATUS_HAIKU="stable"
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
DEPEND=""
DEPEND="pkgconfig >= 0.23"
BUILD {
cd ftgl-2.1.3~rc5
cp /boot/common/share/aclocal/libtool.m4 m4
@@ -23,6 +23,9 @@ BUILD {
INSTALL {
cd ftgl-2.1.3~rc5
cp ftgl.pc /boot/common/lib/pkgconfig
make install
}
LICENSE="MIT"
COPYRIGHT="2001-2004 Unicode, Inc."
COPYRIGHT="2001-2009 Henry Maddocks"

View File

@@ -0,0 +1,16 @@
diff -Naur ftgl-2.1.3~rc5/Makefile.am ftgl-2.1.3~rc5-haiku/Makefile.am
--- ftgl-2.1.3~rc5/Makefile.am 2008-05-12 15:04:08.014942208 -0300
+++ ftgl-2.1.3~rc5-haiku/Makefile.am 2010-06-19 02:40:04.067371008 -0300
@@ -26,12 +26,6 @@
# Print out an informative summary.
all-local:
- @$(ECHO) "Done."
- @$(ECHO)
- @if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \
- $(ECHO) "---" ;\
- $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\
- fi
@$(ECHO)
# Upload documentation