pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36766: net/php-xmlrpc fails to build on freebsd



>Number:         36766
>Category:       pkg
>Synopsis:       net/php-xmlrpc: fails to build on freebsd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 10 15:50:00 +0000 2007
>Originator:     Yakovetsky Vladimir
>Release:        
>Environment:
System: FreeBSD solo.x.ua 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #0: Thu Jul 12 
18:36:30 EEST 2007 yx%solo.x.ua@localhost:/usr/obj/usr/src/sys/solo i386

>Description:
        net/php-xmlrpc fails to build on freebsd
        (php4 and php5 both affected).

>How-To-Repeat:
% uname -sr
FreeBSD 6.2-RELEASE-p6
% cd /usr/pkgsrc/net/php-xmlrpc
% bmake
...
checking iconv dir for XMLRPC-EPI... shared,/usr/pkg
configure: error: Please specify the install prefix of iconv with 
--with-iconv=<DIR>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/php-xmlrpc
*** Error code 1


>Fix:
--- net/php-xmlrpc/Makefile.orig
+++ net/php-xmlrpc/Makefile
@@ -33,7 +33,11 @@
 
 .if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \
     !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
+.      if ${OPSYS} != "FreeBSD"
 CONFIGURE_ARGS+=       --with-iconv-dir=shared,${BUILDLINK_PREFIX.iconv}
+.      else
+CONFIGURE_ARGS+=       --with-iconv-dir=${BUILDLINK_PREFIX.iconv}
+.      endif
 .else
 CONFIGURE_ARGS+=       --with-iconv-dir
 .endif




Home | Main Index | Thread Index | Old Index