summaryrefslogtreecommitdiff
path: root/misc/linux-opengroupware
diff options
context:
space:
mode:
Diffstat (limited to 'misc/linux-opengroupware')
-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 1d8a38c2b029..6416c0259afd 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: