| @@ -1,21 +1,24 @@ | | | @@ -1,21 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.1 2011/09/17 11:32:03 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2011/10/24 12:48:56 obache Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-scram/} | | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-scram/} |
4 | COMMENT= Cyrus SASL SCRAM authentication plugin | | 4 | COMMENT= Cyrus SASL SCRAM authentication plugin |
5 | SASL_PLUGIN= yes | | 5 | SASL_PLUGIN= yes |
6 | | | 6 | |
7 | PKG_DESTDIR_SUPPORT= user-destdir | | 7 | PKG_DESTDIR_SUPPORT= user-destdir |
8 | | | 8 | |
9 | .include "../../security/cyrus-sasl/Makefile.common" | | 9 | .include "../../security/cyrus-sasl/Makefile.common" |
10 | | | 10 | |
11 | CONFIGURE_ARGS+= --enable-scram | | 11 | CONFIGURE_ARGS+= --enable-scram |
| | | 12 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} |
12 | | | 13 | |
13 | BUILD_DIRS= ${WRKSRC}/plugins | | 14 | BUILD_DIRS= ${WRKSRC}/plugins |
14 | BUILD_TARGET= libscram.la | | 15 | BUILD_TARGET= libscram.la |
15 | | | 16 | |
| | | 17 | .include "../../security/openssl/buildlink3.mk" |
| | | 18 | |
16 | do-install: | | 19 | do-install: |
17 | ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} | | 20 | ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} |
18 | cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ | | 21 | cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ |
19 | ${INSTALL_PROGRAM} libscram.la ${DESTDIR}${PLUGINDIR} | | 22 | ${INSTALL_PROGRAM} libscram.la ${DESTDIR}${PLUGINDIR} |
20 | | | 23 | |
21 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |