summaryrefslogtreecommitdiff
path: root/misc/linux-opengroupware
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-01-22 12:18:43 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-01-22 12:18:43 +0000
commit439b8a040c6cc5d9c091b08a90056d1059d4640b (patch)
tree8132e1111bd2c96ba9c0959d3cfce2b62a26551b /misc/linux-opengroupware
parent- Fix .PLIST* creation (diff)
Use the CPIO macro defined in bsd.port.mk.
Notes
Notes: svn path=/head/; revision=98793
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: