diff options
author | knu <knu@FreeBSD.org> | 2014-01-28 20:06:29 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2014-01-28 20:06:29 +0800 |
commit | 9c2b44f3eeb3944e2016a37b18f178ff3d07fbaa (patch) | |
tree | 47ac9460c5c45d7db74783939ae6e12e71e2697e /databases | |
parent | 47bd091a48228f9a325021d4058005c47224e0fc (diff) | |
download | freebsd-ports-graphics-9c2b44f3eeb3944e2016a37b18f178ff3d07fbaa.tar.gz freebsd-ports-graphics-9c2b44f3eeb3944e2016a37b18f178ff3d07fbaa.tar.zst freebsd-ports-graphics-9c2b44f3eeb3944e2016a37b18f178ff3d07fbaa.zip |
Take care of CONFIGURE_ARGS and PKGNAMEPREFIX also.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-q4m/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/mysql-q4m/Makefile b/databases/mysql-q4m/Makefile index 140b9c960b9..cc51611f91b 100644 --- a/databases/mysql-q4m/Makefile +++ b/databases/mysql-q4m/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 0.9.10 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://q4m.kazuhooku.com/dist/ -PKGNAMEPREFIX= mysql${MYSQL_VER}- +PKGNAMEPREFIX= ${_MYSQL_SERVER:T:C/-server$/-/} MAINTAINER= knu@FreeBSD.org COMMENT= A message queue that works as a pluggable storage engine of MySQL @@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include -DDBUG_OFF LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql CONFIGURE_ARGS= --prefix="${PREFIX}" \ --libdir="${PREFIX}/lib/mysql/plugin" \ - --with-mysql="$$(cd ${PORTSDIR}/databases/mysql${MYSQL_VER}-server; ${MAKE} -V WRKSRC)" + --with-mysql="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V WRKSRC)" COPYTREE_AUTO= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ |