diff options
Diffstat (limited to 'graphics/ftgl/files')
-rw-r--r-- | graphics/ftgl/files/makefile.ex | 6 | ||||
-rw-r--r-- | graphics/ftgl/files/patch-FTFace.cpp | 11 | ||||
-rw-r--r-- | graphics/ftgl/files/patch-unix_Makefile | 22 | ||||
-rw-r--r-- | graphics/ftgl/files/patch-unix_src_Makefile | 13 |
4 files changed, 39 insertions, 13 deletions
diff --git a/graphics/ftgl/files/makefile.ex b/graphics/ftgl/files/makefile.ex index fd5a4f6a4488..87cb60068063 100644 --- a/graphics/ftgl/files/makefile.ex +++ b/graphics/ftgl/files/makefile.ex @@ -1,11 +1,13 @@ # Make sure, that you have graphics/libglut installed # in order to build example program +# +# $FreeBSD$ CC= %%CC%% CXX= %%CXX%% RM= %%RM%% -CFLAGS= %%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl -CXXFLAGS= %%CXXFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl +CFLAGS= %%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/FTGL +CXXFLAGS= %%CXXFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/FTGL LDFLAGS= -L%%X11BASE%%/lib -L%%PREFIX%%/lib -lglut -lftgl FREETYPE_CFLAGS!=%%LOCALBASE%%/bin/freetype-config --cflags diff --git a/graphics/ftgl/files/patch-FTFace.cpp b/graphics/ftgl/files/patch-FTFace.cpp deleted file mode 100644 index 1fda65627a1d..000000000000 --- a/graphics/ftgl/files/patch-FTFace.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/FTFace.cpp.orig Fri Jan 16 13:23:11 2004 -+++ src/FTFace.cpp Fri Jan 16 13:23:23 2004 -@@ -62,7 +62,7 @@ - { - FT_Open_Args open; - -- open.flags = (FT_Open_Flags)1; // FT_OPEN_MEMORY; -+ open.flags = /*(FT_Open_Flags)*/1; // FT_OPEN_MEMORY; - open.memory_base = (FT_Byte *)pBufferBytes; - open.memory_size = bufferSizeInBytes; - diff --git a/graphics/ftgl/files/patch-unix_Makefile b/graphics/ftgl/files/patch-unix_Makefile new file mode 100644 index 000000000000..f888fcdaac3e --- /dev/null +++ b/graphics/ftgl/files/patch-unix_Makefile @@ -0,0 +1,22 @@ +--- unix/Makefile.orig Mon Jan 13 00:27:04 2003 ++++ unix/Makefile Thu Jun 17 17:20:29 2004 +@@ -1,7 +1,7 @@ + top_builddir=. + -include $(top_builddir)/Make.conf + +-SUBDIRS = src demo docs ++SUBDIRS = src demo %%PORTDOCS%%docs + + AUTOGEN = Make.conf config.log config.status libtool autom4te.cache ftgl.pc + AUTOGEN_MAINT = aclocal.m4 acinclude.m4 config.guess config.sub configure ltmain.sh install-sh +@@ -16,8 +16,8 @@ + ./configure + + install-local: ftgl.pc +- $(INSTALL) -d -m 0755 $(libdir)/pkgconfig +- $(INSTALL) -m 0644 ftgl.pc $(libdir)/pkgconfig/ ++ ${MKDIR} ${PREFIX}/libdata/pkgconfig ++ $(INSTALL) -m 0644 ftgl.pc ${PREFIX}/libdata/pkgconfig/ + + maint-clean-local: + $(RM) $(AUTOGEN_MAINT) diff --git a/graphics/ftgl/files/patch-unix_src_Makefile b/graphics/ftgl/files/patch-unix_src_Makefile new file mode 100644 index 000000000000..68d515eff880 --- /dev/null +++ b/graphics/ftgl/files/patch-unix_src_Makefile @@ -0,0 +1,13 @@ +--- unix/src/Makefile.orig Tue Jun 15 11:39:46 2004 ++++ unix/src/Makefile Tue Jun 15 11:40:03 2004 +@@ -75,8 +75,8 @@ + install-local: libftgl.la + $(INSTALL) -d -m 0755 $(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -m 0644 $(TARGET) $(libdir) +- $(INSTALL) -d -m 0755 $(includedir)/FTGL +- $(INSTALL) -m 0644 $(HEADER_FILES) $(includedir)/FTGL ++ $(INSTALL) -d -m 0755 $(includedir)/FTGL ++ $(INSTALL) -m 0644 $(HEADER_FILES) $(includedir)/FTGL + + + clean-local: |