diff options
author | brnrd <brnrd@FreeBSD.org> | 2016-07-03 20:43:27 +0800 |
---|---|---|
committer | brnrd <brnrd@FreeBSD.org> | 2016-07-03 20:43:27 +0800 |
commit | 8f52d5d5b03ef289fb9c35fb3aac1af0bc1083c9 (patch) | |
tree | 9e181746ce713d7d599a5d69865ccb42beef7878 /databases | |
parent | f37fd4fa8ed0667670372cf076b70d522799fdc4 (diff) | |
download | freebsd-ports-graphics-8f52d5d5b03ef289fb9c35fb3aac1af0bc1083c9.tar.gz freebsd-ports-graphics-8f52d5d5b03ef289fb9c35fb3aac1af0bc1083c9.tar.zst freebsd-ports-graphics-8f52d5d5b03ef289fb9c35fb3aac1af0bc1083c9.zip |
databases/mysql-udf: Fix building with MariaDB
- Work around MySQL's include/mysql/mysql directory
- Add -I ${LOCALBASE}/include to CFLAGS
- Move from USE_MYSQL to USES= mysql
PR: 199556
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-udf/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql-udf/distinfo | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/databases/mysql-udf/Makefile b/databases/mysql-udf/Makefile index e8146b8dcb1..3ca66fb1ac1 100644 --- a/databases/mysql-udf/Makefile +++ b/databases/mysql-udf/Makefile @@ -12,7 +12,7 @@ COMMENT= Set of user-defined functions for the MySQL server WRKSRC= ${WRKDIR}/${PORTNAME} -USE_MYSQL= yes +USES= mysql MODULES= colwidth confidence_higher confidence_lower correlation \ faculty geomean intercept kurtosis longest median noverm \ @@ -31,7 +31,7 @@ CFLAGS+= -fPIC do-build: .for MODULE in ${MODULES} cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -I${LOCALBASE}/include/mysql -c -o udf_${MODULE}.o udf_${MODULE}.cc && \ + ${CC} ${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -c -o udf_${MODULE}.o udf_${MODULE}.cc && \ ${CC} -shared -o udf_${MODULE}.so udf_${MODULE}.o .endfor diff --git a/databases/mysql-udf/distinfo b/databases/mysql-udf/distinfo index e91facaf30c..d1afcfd8f0c 100644 --- a/databases/mysql-udf/distinfo +++ b/databases/mysql-udf/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1467549429 SHA256 (mysql-udf-0.3.tar.gz) = d9115aeecccfc06ccdc209a761a6a4d0dba70f15c9319ab76d173b04737beaf2 SIZE (mysql-udf-0.3.tar.gz) = 6714 |