ports/150690: [patch] editors/vim: libiconv can't be in PREFIX

Anonymous swell.k at gmail.com
Sat Sep 18 03:10:02 UTC 2010


>Number:         150690
>Category:       ports
>Synopsis:       [patch] editors/vim: libiconv can't be in PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 03:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
The following piece makes configure search for libiconv in LOCALBASE

  @${REINPLACE_CMD} -e ' \
      s|/usr/local|${LOCALBASE}|g' \
      ${WRKSRC}/auto/configure

Besides, according to bsd.port.mk LOCALBASE is used to reference PREFIX
of *other* ports.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: editors/vim/Makefile
===================================================================
RCS file: /a/.cvsup/ports/editors/vim/Makefile,v
retrieving revision 1.357
diff -u -p -r1.357 Makefile
--- editors/vim/Makefile	17 Sep 2010 00:46:45 -0000	1.357
+++ editors/vim/Makefile	17 Sep 2010 23:47:49 -0000
@@ -166,7 +166,7 @@ MAKE_ARGS+=	CONF_OPT_GUI="--enable-gui=n
 MAKE_ARGS+=	CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp"
 .endif	# LITE
 
-.if exists(${PREFIX}/lib/libiconv.so)
+.if exists(${LOCALBASE}/lib/libiconv.so)
 USE_ICONV=	yes
 .endif
 
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list