summaryrefslogtreecommitdiff
path: root/sysutils/ldapvi
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /sysutils/ldapvi
parentnet/openh323: conflicts with h323plus (diff)
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=366215
Diffstat (limited to 'sysutils/ldapvi')
-rw-r--r--sysutils/ldapvi/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/ldapvi/Makefile b/sysutils/ldapvi/Makefile
index 0b3e0d5a6de8..1fdfe8ae97c9 100644
--- a/sysutils/ldapvi/Makefile
+++ b/sysutils/ldapvi/Makefile
@@ -22,7 +22,7 @@ GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz \
${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
@@ -34,4 +34,7 @@ PLIST_DIRS= ${DOCSDIR_REL}
CONFIGURE_ARGS= --without-sasl
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/-lssl/-lcrypto/' ${WRKSRC}/configure
+
.include <bsd.port.mk>