From 67db3a6a89bf61aa9f6e26b6690a088347032110 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Wed, 19 Nov 2003 21:30:52 +0000 Subject: Fix packing list. Fix generation of pango.modules file (still assumes Linux emulation is enabled). --- x11-toolkits/linux-f10-pango/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'x11-toolkits/linux-f10-pango') diff --git a/x11-toolkits/linux-f10-pango/Makefile b/x11-toolkits/linux-f10-pango/Makefile index d91faeea68c9..d1573514ca31 100644 --- a/x11-toolkits/linux-f10-pango/Makefile +++ b/x11-toolkits/linux-f10-pango/Makefile @@ -24,14 +24,17 @@ RPM_SET= pango-1.2.1-3.i386.rpm pre-install: ${RM} -rf ${WRKSRC}/tmp + ${ECHO_CMD} etc/pango/pango.modules > ${PLIST} ${MKDIR} ${WRKSRC}/tmp cd ${WRKSRC}/tmp; \ rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \ - ${FIND} * -type f -o -type l > ${PLIST}; \ - ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST} + ${FIND} * -type f -o -type l >> ${PLIST}; \ + ${FIND} -d * -type d | ${GREP} pango | \ + ${SED} -e 's:^:@dirrm :' >> ${PLIST} post-install: - ${LINUXBASE}/usr/bin/pango-querymodules >\ - ${LINUXBASE}/etc/pango/pango.modules + - chroot ${LINUXBASE} usr/bin/pango-querymodules > \ + ${WRKSRC}/pango.modules + ${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/ .include "../linux-gtk/Makefile" -- cgit v1.2.3