From 800d9c4c60252a09c452baef59e0e064e996c04f Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sat, 13 Jul 2002 02:39:28 +0000 Subject: [PATCH] PERL -> REINPLACE_CMD PR: ports/40505 Submitted by: Scott Flatman Approved by: maintainer --- graphics/drm-kmod/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile index 7adf404994f2..007b26b5225b 100644 --- a/graphics/drm-kmod/Makefile +++ b/graphics/drm-kmod/Makefile @@ -13,6 +13,7 @@ MASTER_SITES= http://gladstone.uoregon.edu/~eanholt/dri/ MAINTAINER= eanholt@gladstone.uoregon.edu +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${PORTNAME} PKGMESSAGE= ${WRKSRC}/.MESSAGE @@ -36,7 +37,7 @@ pre-extract: .endif pre-patch: - ${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/drm.sh + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/drm.sh pre-install: @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \