From 4eec1202a8c046a055cffa091f0100584cf23dca Mon Sep 17 00:00:00 2001 From: jasoni Date: Thu, 4 Oct 2001 21:56:05 +0000 Subject: [PATCH] use full pathname to rpm2cpio; ok naddy@ --- emulators/redhat/base/Makefile | 4 ++-- emulators/redhat/motif/Makefile | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/emulators/redhat/base/Makefile b/emulators/redhat/base/Makefile index f611f653a3c..51fc998435b 100644 --- a/emulators/redhat/base/Makefile +++ b/emulators/redhat/base/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2001/09/19 19:05:14 naddy Exp $ +# $OpenBSD: Makefile,v 1.3 2001/10/04 21:56:05 jasoni Exp $ COMMENT= "Linux compatibility package based on RedHat 6.2" @@ -44,7 +44,7 @@ pre-install: do-install: .for rpm in ${RPMS:S/:0//} - @cd ${PREFIX}; rpm2cpio ${RPMDIR}/${rpm} | cpio -id + @cd ${PREFIX}; ${LOCALBASE}/bin/rpm2cpio ${RPMDIR}/${rpm} | cpio -id .endfor # Get rid of some unnecessary files and directories. diff --git a/emulators/redhat/motif/Makefile b/emulators/redhat/motif/Makefile index 8ae195dccc6..5b9f07cc892 100644 --- a/emulators/redhat/motif/Makefile +++ b/emulators/redhat/motif/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2001/09/16 16:48:11 naddy Exp $ +# $OpenBSD: Makefile,v 1.2 2001/10/04 21:56:05 jasoni Exp $ COMMENT= "Motif toolkit Linux libraries" @@ -18,6 +18,7 @@ EXTRACT_FILES= usr/X11R6/lib/libMrm.so.2.1 \ do-install: @${INSTALL_DATA_DIR} ${PREFIX} @cd ${PREFIX}; \ - rpm2cpio ${FULLDISTDIR}/${DISTFILES} | cpio -idum ${EXTRACT_FILES} + ${LOCALBASE}/bin/rpm2cpio ${FULLDISTDIR}/${DISTFILES} \ + | cpio -idum ${EXTRACT_FILES} .include