Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 22:36:19 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53771: Update port: print/gfontview
Message-ID:  <20030626223619.0df38485.tkato@prontomail.com>
Resent-Message-ID: <200306261340.h5QDePZS005166@freefall.freebsd.org>

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

>Number:         53771
>Category:       ports
>Synopsis:       Update port: print/gfontview
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 26 06:40:25 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/gfontview/Makefile print/gfontview/Makefile
--- /usr/ports/print/gfontview/Makefile	Sat Apr 12 23:14:40 2003
+++ print/gfontview/Makefile	Sat Jun 14 23:41:06 2003
@@ -19,8 +19,7 @@
 LIB_DEPENDS=	t1.5:${PORTSDIR}/devel/t1lib
 
 USE_X_PREFIX=	yes
-USE_REINPLACE=	yes
-USE_GNOME=	yes
+USE_GNOME=	gnomehack gnomelibs gnomeprefix
 USE_FREETYPE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
@@ -32,13 +31,10 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
 		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
 		 s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \
-			${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \
-		 s|\$$(datadir)/locale|$$(prefix)/share/locale|g ; \
-		 s|-I/usr/include/freetype||g' \
-			${WRKSRC}/Makefile.in
+		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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