use full pathname to rpm2cpio; ok naddy@
This commit is contained in:
parent
93dc70075d
commit
4eec1202a8
@ -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.
|
||||
|
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user