Subject: Re: fonts/ttf2pk make error
To: None <tech-pkg@netbsd.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 11/06/2004 15:35:20
Hi, all.
I just find the cause -
1. Because of this line in Makefile
..include "../../graphics/freetype-lib/Makefile.common"

the patch dir be override by
PATCHDIR=               ${.CURDIR}/../../graphics/freetype-lib/patches

The patches under ttf2pk/ will never adopted.

2. Then I try to fix it by this line:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf2pk/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    9 Oct 2004 14:15:22 -0000       1.1.1.1
+++ Makefile    6 Nov 2004 07:31:37 -0000
@@ -2,6 +2,7 @@
 #
 
 .include "../../graphics/freetype-lib/Makefile.common"
+PATCHDIR=              ${.CURDIR}/patches
 
 PKGNAME=               ttf2pk-1.3.1
 CATEGORIES=            print

Then it printed out such errors -
bee[/usr/pkgsrc/fonts/ttf2pk]% make patch
===> *** No /usr/pkgsrc-distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for freetype-1.3.1.tar.gz.
===> Extracting for ttf2pk-1.3.1
===> Required installed package freetype-lib>=1.3.1nb2: freetype-lib-1.3.1nb2 found
===> Required installed package teTeX-bin>=2.0.2: teTeX-bin-2.0.2nb2 found
===> Required installed package autoconf>=2.50: autoconf-2.59 found
===> Required installed package libtool-base>=1.5.10nb1: libtool-base-1.5.10nb5 found
===> Patching for ttf2pk-1.3.1
===> Applying pkgsrc patches for ttf2pk-1.3.1
**************************************
Ignoring unknown patch file: /usr/pkgsrc/fonts/ttf2pk/patches/patch-ttf2pk-aa
**************************************
**************************************
Ignoring unknown patch file: /usr/pkgsrc/fonts/ttf2pk/patches/patch-ttf2pk-ab
**************************************
**************************************
Ignoring unknown patch file: /usr/pkgsrc/fonts/ttf2pk/patches/patch-ttf2pk-ac
**************************************
**************************************
Ignoring unknown patch file: /usr/pkgsrc/fonts/ttf2pk/patches/patch-ttf2pk-ad
**************************************
**************************************
Ignoring unknown patch file: /usr/pkgsrc/fonts/ttf2pk/patches/patch-ttf2pk-ae
**************************************


Looks like we should fix the patches' name...

Should I send-pr??