ports/67963: Update port: graphics/ftgl 2.07 -> 2.0.9
Igor Pokrovsky
ip at doom.homeunix.org
Fri Jun 18 02:08:36 UTC 2004
On Wed, Jun 16, 2004 at 03:04:10PM +0000, Kirill Ponomarew wrote:
> It doesn't install correctly:
> /usr/bin/install -c -o root -g wheel -m 0644 html/* /var/tmp/ttt/share/doc/ftgl/html/
> install: html/*: No such file or directory
> gmake[1]: *** [install-local] Error 71
I'm not getting this error... Could you send me full build log,
so I could compare it with mine?
The other problems are fixed with attached patch.
-ip
--
All American cars are basically Chevrolets.
-------------- next part --------------
diff -ruN /tmp/ftgl/Makefile ftgl/Makefile
--- /tmp/ftgl/Makefile Thu Jun 17 17:54:48 2004
+++ ftgl/Makefile Thu Jun 17 17:48:42 2004
@@ -6,9 +6,10 @@
#
PORTNAME= ftgl
-PORTVERSION= 2.0.9
+PORTVERSION= 2.09
CATEGORIES= graphics
MASTER_SITES= http://homepages.paradise.net.nz/henryj/code/
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/([[:digit:]])$/.\1/}
MAINTAINER= tiamat at comset.net
COMMENT= An OpenGL FreeType fonts rendering library
@@ -26,7 +27,7 @@
CONFIGURE_ARGS= --with-gl-inc=${X11BASE}/include --with-gl-lib=${X11BASE}/lib
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
-INSTALLS_SHLIB= yes
+MAKE_ENV= MKDIR="${MKDIR}"
.ifdef (NOPORTDOCS)
DO_INSTALL_DOCS=\#
diff -ruN /tmp/ftgl/files/patch-unix_Makefile ftgl/files/patch-unix_Makefile
--- /tmp/ftgl/files/patch-unix_Makefile Thu Jun 17 17:54:48 2004
+++ ftgl/files/patch-unix_Makefile Thu Jun 17 17:29:14 2004
@@ -1,5 +1,5 @@
---- unix/Makefile.orig Tue Jun 15 12:01:43 2004
-+++ unix/Makefile Tue Jun 15 12:02:04 2004
+--- 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
@@ -9,3 +9,14 @@
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 -ruN /tmp/ftgl/pkg-plist ftgl/pkg-plist
--- /tmp/ftgl/pkg-plist Thu Jun 17 17:54:48 2004
+++ ftgl/pkg-plist Thu Jun 17 17:26:36 2004
@@ -27,7 +27,7 @@
include/FTGL/FTVectoriser.h
lib/libftgl.a
lib/libftgl.la
-lib/pkgconfig/ftgl.pc
+libdata/pkgconfig/ftgl.pc
%%EXAMPLESDIR%%/makefile
%%EXAMPLESDIR%%/tb.c
%%EXAMPLESDIR%%/trackball.c
@@ -88,6 +88,6 @@
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm lib/pkgconfig
+ at unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@dirrm include/FTGL
@dirrm %%EXAMPLESDIR%%
More information about the freebsd-ports-bugs
mailing list