From 5dd533b7da7db6deae5b5516a81fbdb452ccf6f5 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 16 May 2014 03:29:49 +0000 Subject: [PATCH] Support STAGEDIR. --- databases/mysql-udf/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/databases/mysql-udf/Makefile b/databases/mysql-udf/Makefile index 34b9188c2447..2588e69fed7f 100644 --- a/databases/mysql-udf/Makefile +++ b/databases/mysql-udf/Makefile @@ -24,7 +24,6 @@ PLIST_FILES+= lib/mysql/plugin/udf_${MODULE}.so PLIST_DIRS= lib/mysql/plugin -NO_STAGE= yes .include .if ${ARCH} == amd64 @@ -39,12 +38,9 @@ do-build: .endfor do-install: - ${MKDIR} ${PREFIX}/lib/mysql/plugin + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin .for MODULE in ${MODULES} - ${INSTALL_PROGRAM} ${WRKSRC}/udf_${MODULE}.so ${PREFIX}/lib/mysql/plugin/udf_${MODULE}.so + ${INSTALL_PROGRAM} ${WRKSRC}/udf_${MODULE}.so ${STAGEDIR}${PREFIX}/lib/mysql/plugin/udf_${MODULE}.so .endfor -post-install: - @${CAT} ${PKGMESSAGE} - .include