new MULTI_PACKAGES
This commit is contained in:
parent
07477a9c9f
commit
21efc3ae0c
@ -1,11 +1,12 @@
|
|||||||
# $OpenBSD: Makefile,v 1.71 2006/11/20 13:07:19 espie Exp $
|
# $OpenBSD: Makefile,v 1.72 2006/11/25 16:50:24 espie Exp $
|
||||||
|
|
||||||
COMMENT= "Open source LDAP software (client)"
|
COMMENT-main= "Open source LDAP software (client)"
|
||||||
COMMENT-server= "Open source LDAP software (server)"
|
COMMENT-server= "Open source LDAP software (server)"
|
||||||
|
|
||||||
DISTNAME= openldap-2.3.27
|
V= 2.3.27
|
||||||
FULLPKGNAME= ${DISTNAME:S/-/-client-/}p0
|
DISTNAME= openldap-$V
|
||||||
PKGNAME-server= ${DISTNAME:S/-/-server-/}p0
|
FULLPKGNAME-main=openldap-client-$Vp1
|
||||||
|
PKGNAME-server= openldap-server-$Vp1
|
||||||
SHARED_LIBS += lber 9.1 # .2.15
|
SHARED_LIBS += lber 9.1 # .2.15
|
||||||
SHARED_LIBS += ldap 9.1 # .2.15
|
SHARED_LIBS += ldap 9.1 # .2.15
|
||||||
SHARED_LIBS += ldap_r 9.1 # .2.15
|
SHARED_LIBS += ldap_r 9.1 # .2.15
|
||||||
@ -70,8 +71,7 @@ REGRESS_TARGET= test
|
|||||||
FLAVORS= bdb
|
FLAVORS= bdb
|
||||||
FLAVOR?=
|
FLAVOR?=
|
||||||
|
|
||||||
MULTI_PACKAGES= -server
|
MULTI_PACKAGES= -main -server
|
||||||
SUBPACKAGE?=
|
|
||||||
|
|
||||||
LIB_DEPENDS+= sasl2::security/cyrus-sasl2
|
LIB_DEPENDS+= sasl2::security/cyrus-sasl2
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||||
@ -90,10 +90,11 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|||||||
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
|
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
|
||||||
LIBS="${LIBS}"
|
LIBS="${LIBS}"
|
||||||
|
|
||||||
.if ${SUBPACKAGE} == "-server"
|
RUN_DEPENDS-server= :${FULLPKGNAME-main}:databases/openldap
|
||||||
RUN_DEPENDS= :${FULLPKGNAME}:databases/openldap
|
WANTLIB-server= ${WANTLIB} perl util wrap m pthread
|
||||||
WANTLIB+= perl util wrap m pthread
|
|
||||||
.endif
|
BASE_PKGPATH= ${PKGPATH}${FLAVOR_EXT:S/-/,/g}
|
||||||
|
SUBST_VARS= BASE_PKGPATH
|
||||||
|
|
||||||
USE_LIBTOOL= Yes
|
USE_LIBTOOL= Yes
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@comment $OpenBSD: PFRAG.shared,v 1.30 2005/12/29 14:00:36 bernd Exp $
|
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/25 16:50:24 espie Exp $
|
||||||
@lib lib/liblber-2.3.so.${LIBlber-2.3_VERSION}
|
@lib lib/liblber-2.3.so.${LIBlber-2.3_VERSION}
|
||||||
@lib lib/liblber.so.${LIBlber_VERSION}
|
@lib lib/liblber.so.${LIBlber_VERSION}
|
||||||
@lib lib/libldap-2.3.so.${LIBldap-2.3_VERSION}
|
@lib lib/libldap-2.3.so.${LIBldap-2.3_VERSION}
|
@ -1,4 +1,5 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.15 2006/02/28 16:27:53 bernd Exp $
|
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/25 16:50:24 espie Exp $
|
||||||
|
@pkgpath ${BASE_PKGPATH}
|
||||||
bin/ldapadd
|
bin/ldapadd
|
||||||
bin/ldapcompare
|
bin/ldapcompare
|
||||||
bin/ldapdelete
|
bin/ldapdelete
|
Loading…
x
Reference in New Issue
Block a user