Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 06:44:05 GMT
From:      Alexey Markov <redrat@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166175: textproc/libxml2: cannot build port because of typo in the Makefile
Message-ID:  <201203160644.q2G6i5Re004577@red.freebsd.org>
Resent-Message-ID: <201203160650.q2G6o1PE047195@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166175
>Category:       ports
>Synopsis:       textproc/libxml2: cannot build port because of typo in the Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 16 06:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Markov
>Release:        8.2-RELEASE-p6
>Organization:
JSC Complitex
>Environment:
FreeBSD ku-new.memo.ru 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #0: Sat Jan  7 21:2
0:57 MSK 2012 support@ku-new.memo.ru:/arc/obj/arc/src/sys/KU-NEW amd64
>Description:
textproc/libxml2 port cannot be built because of typo in the Makefile: additional hyphen in the CONFIGURE_ARGS option. Build stopped with message:

===>  Configuring for libxml2-2.7.8_2
configure: error: unrecognized option: `---with-html-dir=/usr/local/share/doc'
Try `./configure --help' for more information

*** Error code 1

>How-To-Repeat:
cd /usr/ports/textproc/libxml2 && make
>Fix:
--- Makefile.orig       2012-03-16 06:27:04.000000000 +0400
+++ Makefile    2012-03-16 10:36:26.000000000 +0400
@@ -31,7 +31,7 @@
 GNU_CONFIGURE= yes
 USE_GNOME?=    gnomehack pkgconfig
 USE_LDCONFIG=  yes
-CONFIGURE_ARGS?=---with-html-dir=${PREFIX}/share/doc \
+CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
                --with-html-subdir=${PORTNAME} \
                --without-python
 CPPFLAGS+=     -I${LOCALBASE}/include

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203160644.q2G6i5Re004577>