Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 06:57:59 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450722 - head/net/openldap24-server
Message-ID:  <201709270657.v8R6vxRN097117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Sep 27 06:57:59 2017
New Revision: 450722
URL: https://svnweb.freebsd.org/changeset/ports/450722

Log:
  Reorder several variable definitions in Makefile.
  
  PR:		ports/222405
  Submitted by:	Yasuhiro KIMURA <yasu utahime org>

Modified:
  head/net/openldap24-server/Makefile

Modified: head/net/openldap24-server/Makefile
==============================================================================
--- head/net/openldap24-server/Makefile	Wed Sep 27 06:40:50 2017	(r450721)
+++ head/net/openldap24-server/Makefile	Wed Sep 27 06:57:59 2017	(r450722)
@@ -13,30 +13,41 @@ MASTER_SITES=		ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SU
 			ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
 			http://www.openldap.org/software/download/OpenLDAP/%SUBDIR%/
 MASTER_SITE_SUBDIR=	openldap-release
-
 .if defined(CLIENT_ONLY)
 .if ${CLIENT_ONLY} == sasl
 PKGNAMESUFFIX=		-sasl-client
-COMMENT=		Open source LDAP client implementation with SASL2 support
-CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
-			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[0-3].*
 .else
 PKGNAMESUFFIX=		-client
-COMMENT=		Open source LDAP client implementation
-CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.[0-3].* \
-			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
 .endif
 .else
 PKGNAMESUFFIX?=		-server
 .endif
 
 MAINTAINER=		delphij@FreeBSD.org
-COMMENT?=		Open source LDAP server implementation
+.if defined(CLIENT_ONLY)
+.if ${CLIENT_ONLY} == sasl
+COMMENT=		Open source LDAP client implementation with SASL2 support
+.else
+COMMENT=		Open source LDAP client implementation
+.endif
+.else
+COMMENT=		Open source LDAP server implementation
+.endif
 
 LICENSE=		OPENLDAP
 LICENSE_NAME=		OpenLDAP Public License
 LICENSE_FILE=		${WRKSRC}/LICENSE
 LICENSE_PERMS=		dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+.if defined(CLIENT_ONLY)
+.if ${CLIENT_ONLY} == sasl
+CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
+			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[0-3].*
+.else
+CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.[0-3].* \
+			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
+.endif
+.endif
 
 GNU_CONFIGURE=		yes
 # :keepla because port uses lt_dlopen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709270657.v8R6vxRN097117>