Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 12:57:04 GMT
From:      Frank Wall <fw@moov.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171139: [PATCH] textproc/iksemel: add dependency on pkg-config
Message-ID:  <201208281257.q7SCv4OW095872@red.freebsd.org>
Resent-Message-ID: <201208281300.q7SD0ANh077336@freefall.freebsd.org>

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

>Number:         171139
>Category:       ports
>Synopsis:       [PATCH] textproc/iksemel: add dependency on pkg-config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 28 13:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Frank Wall
>Release:        7.4-RELEASE-p9
>Organization:
>Environment:
FreeBSD XXX 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 19:47:58 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The port textproc/iksemel requires pkg-config to be build. The build dependency for it is missing, thus the port won't compile if devel/pkgconf is not already installed.
>How-To-Repeat:
- make sure devel/pkgconf is NOT installed
- try to install textproc/iksemel
- build will fail with a syntax error during the configure phase:

===>  Extracting for iksemel-1.4_3
=> SHA256 Checksum OK for iksemel-1.4.tar.gz.
===>  Patching for iksemel-1.4_3
===>  Applying FreeBSD patches for iksemel-1.4_3
===>   iksemel-1.4_3 depends on file: /usr/local/bin/automake-1.12 - found
===>   iksemel-1.4_3 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   iksemel-1.4_3 depends on package: libtool>=2.4 - found
===>   iksemel-1.4_3 depends on shared library: gnutls.47 - found
===>  Configuring for iksemel-1.4_3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
[...]
checking for getaddrinfo... yes
./configure: 11910: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.

>Fix:
apply the patch:

------------------- start inline patch -------------------
--- textproc/iksemel/Makefile.orig	2011-09-24 00:25:43.000000000 +0200
+++ textproc/iksemel/Makefile	2012-08-28 14:47:02.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	iksemel
 PORTVERSION=	1.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	gnutls.47:${PORTSDIR}/security/gnutls
 
+USE_PKGCONFIG=	build
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtool
 ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
 GNU_CONFIGURE=	yes
------------------- end inline patch -------------------

Patch attached with submission follows:

--- textproc/iksemel/Makefile.orig	2011-09-24 00:25:43.000000000 +0200
+++ textproc/iksemel/Makefile	2012-08-28 14:47:02.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	iksemel
 PORTVERSION=	1.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	gnutls.47:${PORTSDIR}/security/gnutls
 
+USE_PKGCONFIG=	build
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtool
 ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
 GNU_CONFIGURE=	yes


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



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