Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 22:41:54 +0200 (CEST)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        trevor@FreeBSD.org
Subject:   ports/68124: Update port: x11-toolkits/linux-pango (fix dependencies and post-install)
Message-ID:  <20040619204154.DCEF422E28@jsite.lefort.net>
Resent-Message-ID: <200406192050.i5JKoLg4022109@freefall.freebsd.org>

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

>Number:         68124
>Category:       ports
>Synopsis:       Update port: x11-toolkits/linux-pango (fix dependencies and post-install)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 19 20:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu May 27 14:42:30 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
- Adds the dependencies needed to run pango-querymodules
- Cleans the post-install target and stops ignoring errors
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/x11-toolkits/linux-pango/Makefile linux-pango/Makefile
--- /usr/ports/x11-toolkits/linux-pango/Makefile	Thu Feb 12 07:26:38 2004
+++ linux-pango/Makefile	Sat Jun 19 22:32:24 2004
@@ -7,14 +7,16 @@
 
 PORTNAME=	pango
 PORTVERSION=	1.2.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits linux
 
 MAINTAINER=	trevor@FreeBSD.org
 COMMENT=	Linux/i386 pango binary
 
-BUILD_DEPENDS+=	\
-	${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
+# these libraries are required by pango-querymodules
+RUN_DEPENDS=	${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
+		${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
+		${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
 
 BASEVERSION=	9
 ONLY_FOR_ARCHS=	i386
@@ -33,8 +35,6 @@
 		${SED} -e 's:^:@dirrm :' >> ${PLIST}
 
 post-install:
-	- chroot ${LINUXBASE} usr/bin/pango-querymodules > \
-		${WRKSRC}/pango.modules
-	${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/
+	${PREFIX}/usr/bin/pango-querymodules > ${PREFIX}/etc/pango/pango.modules
 
 .include "../linux-gtk/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



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