Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 18:00:52 +0400
From:      Igor Pokrovsky <ip@doom.homeunix.org>
To:        Kirill Ponomarew <krion@freebsd.org>
Cc:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/67963: Update port: graphics/ftgl 2.07 -> 2.0.9
Message-ID:  <20040617140051.GA10063@doom.homeunix.org>
In-Reply-To: <200406161504.i5GF4AtW044684@freefall.freebsd.org>
References:  <200406161504.i5GF4AtW044684@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline; filename="ftgl-2.diff"

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@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%%
-@dirrm lib/pkgconfig
+@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
 @dirrm include/FTGL
 @dirrm %%EXAMPLESDIR%%

--ZGiS0Q5IWpPtfppv--



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