Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2012 02:24:51 GMT
From:      "C. P. Ghost" <cpghost@cordula.ws>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172837: lang/swi-pl compiles with databases/libiodbc
Message-ID:  <201210180224.q9I2OpHD081272@red.freebsd.org>
Resent-Message-ID: <201210180230.q9I2U1Td073555@freefall.freebsd.org>

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

>Number:         172837
>Category:       ports
>Synopsis:       lang/swi-pl compiles with databases/libiodbc
>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:   Thu Oct 18 02:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     C. P. Ghost
>Release:        9.1 PRERELEASE amd64
>Organization:
Cordula's Web
>Environment:
FreeBSD phenom.cordula.ws 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r239683: Sat Aug 25 21:15:07 CEST 2012     root@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The port lang/swi-pl doesn't compile when qt4 is installed.
The reason is the required odbc dependency databases/unixODBC
which conflicts with databases/libiodbc (required by qt4-odbc-plugin).

>How-To-Repeat:
Just compile lang/swi-pl when databases/libiodbc is already installed.
>Fix:
Simply use replacement library databases/libiodbc instead of databases/unixODBC.
See attached patch.


Patch attached with submission follows:

--- Makefile.orig	2012-10-18 04:04:59.000000000 +0200
+++ Makefile	2012-10-18 04:09:30.000000000 +0200
@@ -17,7 +17,7 @@
 
 LIB_DEPENDS=	gmp:${PORTSDIR}/math/gmp \
 		readline:${PORTSDIR}/devel/readline \
-		odbc:${PORTSDIR}/databases/unixODBC \
+		iodbc:${PORTSDIR}/databases/libiodbc \
 		jpeg:${PORTSDIR}/graphics/jpeg \
 
 CFLAGS+=	-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?201210180224.q9I2OpHD081272>