diff options
| author | Xin LI <delphij@FreeBSD.org> | 2026-08-23 21:14:42 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2026-08-23 21:16:59 +0000 |
| commit | 4d8abfb3299de915e342a8b6572ad655b6b1c23e (patch) | |
| tree | 6d880a6140559eb6cbbd033b25772915a55e8d2f /net | |
| parent | faa29f0355423a27d9018cb8f3b99923d73d11d4 (diff) | |
{databases,net}/openldap2[567]-server: use USES=localbase:ldflags
Remove redundant CPPFLAGS, LDFLAGS, LIBS, and SQL_LDFLAGS assignments
that are already covered by USES=localbase:ldflags. Also fix COMMENT/WWW
ordering in openldap25-server.
No functional change to the built packages.
Diffstat (limited to 'net')
| -rw-r--r-- | net/openldap25-server/Makefile | 10 | ||||
| -rw-r--r-- | net/openldap26-server/Makefile | 8 |
2 files changed, 3 insertions, 15 deletions
diff --git a/net/openldap25-server/Makefile b/net/openldap25-server/Makefile index 61f6b3a73d51..8cafc1931579 100644 --- a/net/openldap25-server/Makefile +++ b/net/openldap25-server/Makefile @@ -21,12 +21,12 @@ PKGNAMESUFFIX= 25-server .endif MAINTAINER= delphij@FreeBSD.org -WWW= https://www.OpenLDAP.org/ .if defined(CLIENT_ONLY) COMMENT= Open source LDAP client implementation .else COMMENT= Open source LDAP server implementation .endif +WWW= https://www.OpenLDAP.org/ LICENSE= OPENLDAP LICENSE_NAME= OpenLDAP Public License @@ -34,7 +34,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # :keepla because port uses lt_dlopen -USES= cpe gmake libtool:keepla localbase ssl tar:tgz +USES= cpe gmake libtool:keepla localbase:ldflags ssl tar:tgz BUILD_DEPENDS+= autoconf>0:devel/autoconf .if defined(CLIENT_ONLY) @@ -224,7 +224,6 @@ SLP_CONFIGURE_ENABLE= slp SLP_LIB_DEPENDS= libslp.so:net/openslp SOCK_CONFIGURE_ENABLE= sock=mod SQL_CONFIGURE_ENABLE= sql=mod -SQL_LDFLAGS= -L${LOCALBASE}/lib SQL_LIB_DEPENDS= libodbc.so:databases/unixODBC SSSVLV_CONFIGURE_ENABLE= sssvlv=mod SYNCPROV_CONFIGURE_ENABLE= syncprov=yes @@ -275,8 +274,6 @@ USE_RC_SUBR= slapd EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in -LDFLAGS+= -L${LOCALBASE}/lib - SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/' \ -e 's/\# *\(modulepath\)/\1/' @@ -316,9 +313,6 @@ LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+= --with-cyrus-sasl --enable-spasswd MAKE_ENV+= STRIP=${STRIP} -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib - PLIST_SUB+= ${SUB_LIST} PLIST_SUB+= SHLIB_MAJOR=${OPENLDAP_SHLIB_MAJOR} PLIST_SUB+= SHLIB_MINOR=${OPENLDAP_SHLIB_MINOR} diff --git a/net/openldap26-server/Makefile b/net/openldap26-server/Makefile index 93aa39bd1a52..b546e284e122 100644 --- a/net/openldap26-server/Makefile +++ b/net/openldap26-server/Makefile @@ -34,7 +34,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # :keepla because port uses lt_dlopen -USES= cpe gmake libtool:keepla localbase ssl tar:tgz +USES= cpe gmake libtool:keepla localbase:ldflags ssl tar:tgz BUILD_DEPENDS+= autoconf>0:devel/autoconf .if defined(CLIENT_ONLY) @@ -192,7 +192,6 @@ SLP_CONFIGURE_ENABLE= slp SOCK_CONFIGURE_ENABLE= sock=mod SQL_LIB_DEPENDS= libodbc.so:databases/unixODBC SQL_CONFIGURE_ENABLE= sql=mod -SQL_LDFLAGS= -L${LOCALBASE}/lib SSSVLV_CONFIGURE_ENABLE= sssvlv=mod SYNCPROV_CONFIGURE_ENABLE= syncprov=yes TRANSLUCENT_CONFIGURE_ENABLE= translucent=mod @@ -243,8 +242,6 @@ USE_RC_SUBR= slapd EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in -LDFLAGS+= -L${LOCALBASE}/lib - SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/' -e \ 's/\# *\(modulepath\)/\1/' @@ -286,9 +283,6 @@ CONFIGURE_ARGS+= --enable-spasswd \ --with-cyrus-sasl MAKE_ENV+= STRIP=${STRIP} -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib - PLIST_SUB+= ${SUB_LIST} \ SHLIB_MAJOR=${OPENLDAP_SHLIB_MAJOR} \ SHLIB_MINOR=${OPENLDAP_SHLIB_MINOR} |
