Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2007 11:55:31 GMT
From:      Søren Klintrup<soren@klintrup.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111815: databases/linux-oracle-instantclient-basic does not include linux-compat package/port by default.
Message-ID:  <200704181155.l3IBtVVc096057@www.freebsd.org>
Resent-Message-ID: <200704181210.l3ICA2of078142@freefall.freebsd.org>

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

>Number:         111815
>Category:       ports
>Synopsis:       databases/linux-oracle-instantclient-basic does not include linux-compat package/port by default.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 12:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Søren Klintrup
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD roo.hemligt.net 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Apr  8 06:21:02 UTC 2007     root@roo.hemligt.net:/usr/obj/usr/src/sys/ROO  i386
>Description:
The databases/linux-oracle-instantclient-basic does not automatically include a linux port, so it fails to build on machines that does not have a linux client.

It's easily fixed by adding USE_LINUX=yes to the Makefile, patch attached.
>How-To-Repeat:
build the port on a machine that does not have linux_base libraries installed.
>Fix:
USE_LINUX=yes in makefile

Patch attached inline, www.freebsd.org/send-pr.html didn't work with attachments (from this machine) and the patch is quite small.

--- Makefile.orig       Wed Apr 18 13:43:10 2007
+++ Makefile    Wed Apr 18 13:43:19 2007
@@ -25,6 +25,7 @@
 RESTRICTED=            Packaging prohibited by Oracle license

 USE_ZIP=               yes
+USE_LINUX=             yes
 USE_LINUX_PREFIX=      yes

 ORACLEVERSION=         10.2.0.3

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



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