summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-01-22 12:18:43 +0000
committertrevor <trevor@FreeBSD.org>2004-01-22 12:18:43 +0000
commit1a4fe1abef078142c88fe743751cab946f0e6d1a (patch)
treeb3f0484b3d24d10d7a0453f904fc5634ac0fd064 /misc
parentb986261853674afc9ed239fc66c9bd33bb7acb46 (diff)
downloadFreeBSD-ports-1a4fe1abef078142c88fe743751cab946f0e6d1a.zip
FreeBSD-ports-1a4fe1abef078142c88fe743751cab946f0e6d1a.tar.gz
Use the CPIO macro defined in bsd.port.mk.
Diffstat (limited to 'misc')
-rw-r--r--misc/linux-opengroupware/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/linux-opengroupware/Makefile b/misc/linux-opengroupware/Makefile
index 1d8a38c..6416c02 100644
--- a/misc/linux-opengroupware/Makefile
+++ b/misc/linux-opengroupware/Makefile
@@ -116,7 +116,6 @@ PREFIX= ${LINUXBASE}
.include <bsd.port.pre.mk>
RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio
-CPIO?= /usr/bin/cpio
CPIOFLAGS= --extract --make-directories --no-absolute-filenames \
--preserve-modification-time --quiet
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
@@ -183,7 +182,7 @@ pre-install:
&& ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
do-install:
- cd ${WRKSRC} && ${FIND} * | cpio -dlmp ${PREFIX}
+ cd ${WRKSRC} && ${FIND} * | ${CPIO} -dlmp ${PREFIX}
${FIND} ${PREFIX} -type d \! -ipath '${LINUXBASE}/proc*' -exec ${CHMOD} 755 \{\} \;
post-install:
OpenPOWER on IntegriCloud