mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
portlint
This commit is contained in:
parent
5fab0552fc
commit
e624e1b213
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39158
@ -40,13 +40,13 @@ CONFIGURE_ARGS+= --disable-pam
|
||||
MODULES?= mod_ratio:mod_readme:mod_quota:mod_wrap
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
MODULES:=$(MODULES):mod_ldap
|
||||
MODULES:=${MODULES}:mod_ldap
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
|
||||
CONFIGURE_ENV+= CFLAGS="-I/usr/local/include -g" LDFLAGS=-L/usr/local/lib
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
MODULES:=$(MODULES):mod_sql:mod_sql_mysql
|
||||
MODULES:=${MODULES}:mod_sql:mod_sql_mysql
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ENV+= CFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib/mysql"
|
||||
.endif
|
||||
@ -57,7 +57,7 @@ CONFIGURE_ARGS+= --with-modules=${MODULES}
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
post-extract:
|
||||
rm -rf ${WRKSRC}/contrib/mod_ldap.c
|
||||
${RM} -rf ${WRKSRC}/contrib/mod_ldap.c
|
||||
tar --to-stdout -xvz -f ${DISTDIR}/${MOD_LDAP} */mod_ldap.c > ${WRKSRC}/contrib/mod_ldap.c
|
||||
.endif
|
||||
|
||||
|
@ -40,13 +40,13 @@ CONFIGURE_ARGS+= --disable-pam
|
||||
MODULES?= mod_ratio:mod_readme:mod_quota:mod_wrap
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
MODULES:=$(MODULES):mod_ldap
|
||||
MODULES:=${MODULES}:mod_ldap
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
|
||||
CONFIGURE_ENV+= CFLAGS="-I/usr/local/include -g" LDFLAGS=-L/usr/local/lib
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
MODULES:=$(MODULES):mod_sql:mod_sql_mysql
|
||||
MODULES:=${MODULES}:mod_sql:mod_sql_mysql
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ENV+= CFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib/mysql"
|
||||
.endif
|
||||
@ -57,7 +57,7 @@ CONFIGURE_ARGS+= --with-modules=${MODULES}
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
post-extract:
|
||||
rm -rf ${WRKSRC}/contrib/mod_ldap.c
|
||||
${RM} -rf ${WRKSRC}/contrib/mod_ldap.c
|
||||
tar --to-stdout -xvz -f ${DISTDIR}/${MOD_LDAP} */mod_ldap.c > ${WRKSRC}/contrib/mod_ldap.c
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user