aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2013-06-27 02:23:23 +0800
committerzi <zi@FreeBSD.org>2013-06-27 02:23:23 +0800
commitad54d5b1cb6abc53a5f54774efdb0a410c8fe16d (patch)
treeba2ce19648929d014fcc1a55df79364333fb596f
parente09ebd8f2892cf0b4baa4985f2c4f33f5cd8a924 (diff)
downloadfreebsd-ports-gnome-ad54d5b1cb6abc53a5f54774efdb0a410c8fe16d.tar.gz
freebsd-ports-gnome-ad54d5b1cb6abc53a5f54774efdb0a410c8fe16d.tar.zst
freebsd-ports-gnome-ad54d5b1cb6abc53a5f54774efdb0a410c8fe16d.zip
- Fix pkg-plist issue when LDAP is enabled
-rw-r--r--net/isc-dhcp42-server/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/isc-dhcp42-server/Makefile b/net/isc-dhcp42-server/Makefile
index f65a044827fc..21075eca0439 100644
--- a/net/isc-dhcp42-server/Makefile
+++ b/net/isc-dhcp42-server/Makefile
@@ -114,6 +114,7 @@ CONFIGURE_ARGS+=--with-ldap
USE_OPENLDAP= yes
LDAP_SCRIPT= ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap
LDAP_SCHEMA= ${WRKSRC}/contrib/ldap/dhcp.schema
+LDAP_README= ${WRKSRC}/contrib/ldap/README.ldap
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
PORTDOCS+= README.ldap
PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP=""
@@ -168,9 +169,9 @@ do-install:
${INSTALL_DATA} ${LDAP_SCHEMA} ${SCHEMA_DIR}
${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${PREFIX}/bin
.endif
-.if ${PORT_OPTIONS:MLDAP} && empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MLDAP} && ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/contrib/ldap/README.ldap ${DOCSDIR}
+ ${INSTALL_MAN} ${LDAP_README} ${DOCSDIR}
.endif
.endif