ports/68124: Update port: x11-toolkits/linux-pango (fix dependencies and post-install)
Jean-Yves Lefort
jylefort at brutele.be
Sat Jun 19 20:50:51 UTC 2004
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list