freebsd-ports/sysutils/ldapvi/Makefile
Baptiste Daroussin 1a6cc9cfce Prevent collision with getline(3)
Obtained from:	Upstream
2016-05-22 16:28:40 +00:00

41 lines
973 B
Makefile

# Created by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
# $FreeBSD$
PORTNAME= ldapvi
PORTVERSION= 1.7
PORTREVISION= 4
CATEGORIES= sysutils net
MASTER_SITES= http://www.lichteblau.com/download/ \
LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Tool to update LDAP entries with a text editor
LICENSE= GPLv2
LIB_DEPENDS= libpopt.so:devel/popt
USES= gmake iconv pkgconfig
USE_OPENLDAP= yes
USE_GNOME= glib20
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
EXTRA_PATCHES= ${FILESDIR}/0010-renamed-getline.patch:-p2
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz \
${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
${DOCSDIR_REL}/bg.png ${DOCSDIR_REL}/html.xsl
# XXX should probably be converted to OptionsNG
.if !defined(WANT_OPENLDAP_SASL) || defined(WITHOUT_SASL)
CONFIGURE_ARGS= --without-sasl
.endif
post-patch:
@${REINPLACE_CMD} -e 's/-lssl/-lcrypto/' ${WRKSRC}/configure
.include <bsd.port.mk>