From 77b26a9d75a31d5ef28c35fabe1478207f2d16f2 Mon Sep 17 00:00:00 2001 From: turan Date: Sun, 31 Oct 1999 06:27:48 +0000 Subject: [PATCH] fix the extraction so that WRKDIR is created before touching the cookie. This is an interim fix and is waiting a pending approval to a bsd.port.mk modification. --- print/pkfonts/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/print/pkfonts/Makefile b/print/pkfonts/Makefile index cc049d7a51e..52234de98b6 100644 --- a/print/pkfonts/Makefile +++ b/print/pkfonts/Makefile @@ -2,7 +2,7 @@ # Date created: May 17 1998 # Whom: Angelos D. Keromytis # -# $OpenBSD: Makefile,v 1.3 1999/09/22 10:44:21 espie Exp $ +# $OpenBSD: Makefile,v 1.4 1999/10/31 06:27:48 turan Exp $ # NEED_VERSION= 1.116 @@ -18,7 +18,9 @@ MAINTAINER= angelos@openbsd.org MANUAL_PACKAGE_BUILD= RESOLUTION has to be set to 118 240 300 360 400 600 DIST_SUBDIR= pkfonts -EXTRACT_CMD= /usr/bin/true # extracted directly in install target +# NO_EXTRACT is waiting for a bsd.port.mk fix to be approved. +# For the interim, redefine do-extract. +#NO_EXTRACT= extracted in install target NO_BUILD= yes .if !defined(RESOLUTION) @@ -46,6 +48,9 @@ pre-fetch: .endif .endif +do-extract: + ${MKDIR} ${WRKDIR} + do-install: ${MKDIR} ${PREFIX}/lib/fonts tar -C ${PREFIX}/lib/fonts -xzf ${FULLDISTDIR}/${DISTFILES}