diff options
Diffstat (limited to 'misc/upclient')
-rw-r--r-- | misc/upclient/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile index e13e3786c927..87f3bb615af0 100644 --- a/misc/upclient/Makefile +++ b/misc/upclient/Makefile @@ -15,6 +15,7 @@ MAINTAINER= cyrille.lefevre@laposte.net # Global variables # +USE_REINPLACE= yes ALL_TARGET= bsd BUILD_WRKSRC= ${WRKSRC}/src @@ -34,7 +35,7 @@ DOC_FILES= AUTHORS COPYING FAQ HISTORY INSTALL README TODO post-patch: patch-script patch-message patch-script: - @${PERL} -pi.fbsd -e 's.%%PREFIX%%.${PREFIX}.g' ${WRKSRC}/scripts/upchk + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scripts/upchk patch-message: @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} |