Port fix: net/ldapscripts - Set ICONVBIN path
This small patch sets the right path for the iconv binary used in the scripts. PR: ports/126587 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
This commit is contained in:
parent
f5b8b10fec
commit
a244cbd7c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218735
1 changed files with 10 additions and 6 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= ldapscripts
|
PORTNAME= ldapscripts
|
||||||
PORTVERSION= 1.8.0
|
PORTVERSION= 1.8.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||||
http://contribs.martymac.com/ldapscripts/
|
http://contribs.martymac.com/ldapscripts/
|
||||||
|
@ -49,12 +50,15 @@ PORTDOCS= README CHANGELOG COPYING VERSION TODO
|
||||||
# and set paths to OpenLDAP binaries
|
# and set paths to OpenLDAP binaries
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} "s|^all:.*|all:|g" ${WRKSRC}/Makefile
|
${REINPLACE_CMD} "s|^all:.*|all:|g" ${WRKSRC}/Makefile
|
||||||
${REINPLACE_CMD} "s|^LDAPSEARCHBIN=.*|LDAPSEARCHBIN=\"${LOCALBASE}/bin/ldapsearch\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
${REINPLACE_CMD} \
|
||||||
${REINPLACE_CMD} "s|^LDAPADDBIN=.*|LDAPADDBIN=\"${LOCALBASE}/bin/ldapadd\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
-e "s|^LDAPSEARCHBIN=.*|LDAPSEARCHBIN=\"${LOCALBASE}/bin/ldapsearch\"|g" \
|
||||||
${REINPLACE_CMD} "s|^LDAPDELETEBIN=.*|LDAPDELETEBIN=\"${LOCALBASE}/bin/ldapdelete\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
-e "s|^LDAPADDBIN=.*|LDAPADDBIN=\"${LOCALBASE}/bin/ldapadd\"|g" \
|
||||||
${REINPLACE_CMD} "s|^LDAPMODIFYBIN=.*|LDAPMODIFYBIN=\"${LOCALBASE}/bin/ldapmodify\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
-e "s|^LDAPDELETEBIN=.*|LDAPDELETEBIN=\"${LOCALBASE}/bin/ldapdelete\"|g" \
|
||||||
${REINPLACE_CMD} "s|^LDAPMODRDNBIN=.*|LDAPMODRDNBIN=\"${LOCALBASE}/bin/ldapmodrdn\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
-e "s|^LDAPMODIFYBIN=.*|LDAPMODIFYBIN=\"${LOCALBASE}/bin/ldapmodify\"|g" \
|
||||||
${REINPLACE_CMD} "s|^LDAPPASSWDBIN=.*|LDAPPASSWDBIN=\"${LOCALBASE}/bin/ldappasswd\"|g" ${WRKSRC}/etc/ldapscripts.conf
|
-e "s|^LDAPMODRDNBIN=.*|LDAPMODRDNBIN=\"${LOCALBASE}/bin/ldapmodrdn\"|g" \
|
||||||
|
-e "s|^LDAPPASSWDBIN=.*|LDAPPASSWDBIN=\"${LOCALBASE}/bin/ldappasswd\"|g" \
|
||||||
|
-e "s|^ICONVBIN=.*|ICONVBIN=\"${LOCALBASE}/bin/iconv\"|g" \
|
||||||
|
${WRKSRC}/etc/ldapscripts.conf
|
||||||
|
|
||||||
# Install remaining stuff
|
# Install remaining stuff
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Reference in a new issue