- add -fcommon to fix the build with newer clang/gcc

- fixup pkg-plist
This commit is contained in:
Florian Smeets 2020-10-29 20:37:38 +00:00
parent 3ca90a480b
commit d7d12b75ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553640
2 changed files with 9 additions and 0 deletions

View file

@ -22,6 +22,9 @@ DESCR= ${.CURDIR}/pkg-descr
CMAKE_ARGS+= -DWITH_PAM=1
# Workaround to clang11/gcc10 with -fno-common by default
CFLAGS+= -fcommon
PLUGIN_ONLY= yes
do-install:

View file

@ -2,3 +2,9 @@
lib/mysql/plugin/auth_pam.so
lib/mysql/plugin/auth_pam_compat.so
lib/mysql/plugin/dialog.so
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam-master.opt
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam.result
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam.test
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat-master.opt
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat.result
%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat.test