aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mariadb-server
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-06-25 15:34:01 +0800
committerdougb <dougb@FreeBSD.org>2011-06-25 15:34:01 +0800
commitbdd0edafed61f0614a798603631a33b7ed14ace6 (patch)
treeda8106c2da81dd5bfcc727a6b2d3e2c670a8198b /databases/mariadb-server
parent27b8cc14d7780a59a07d7aca3bdce14ab2b3375a (diff)
downloadfreebsd-ports-gnome-bdd0edafed61f0614a798603631a33b7ed14ace6.tar.gz
freebsd-ports-gnome-bdd0edafed61f0614a798603631a33b7ed14ace6.tar.zst
freebsd-ports-gnome-bdd0edafed61f0614a798603631a33b7ed14ace6.zip
For some reason PKGNAMESUFFIX is not added to UNIQUENAME, so force it.
This fixes -client and -server both creating ${LDCONFIG_DIR}/mariadb, as well as allowing different /var/db/ports/directories which is good since -client and -server have different options. It's probably not strictly necessary to apply this change to -scripts, but do it anyway for consistency.
Diffstat (limited to 'databases/mariadb-server')
-rw-r--r--databases/mariadb-server/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/mariadb-server/Makefile b/databases/mariadb-server/Makefile
index 1cf99001c378..ab1a6e6f87e9 100644
--- a/databases/mariadb-server/Makefile
+++ b/databases/mariadb-server/Makefile
@@ -6,6 +6,9 @@
PORTNAME= mariadb
PKGNAMESUFFIX?= -server
+
+UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX}
+
PORTVERSION= 5.2.7
PORTREVISION?= 0
CATEGORIES= databases ipv6