From tomdean@speakeasy.org  Mon Jun 11 16:49:34 2007
Return-Path: <tomdean@speakeasy.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 739F416A400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Jun 2007 16:49:34 +0000 (UTC)
	(envelope-from tomdean@speakeasy.org)
Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4])
	by mx1.freebsd.org (Postfix) with ESMTP id 5106713C45D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Jun 2007 16:49:34 +0000 (UTC)
	(envelope-from tomdean@speakeasy.org)
Received: (qmail 19179 invoked from network); 11 Jun 2007 16:22:54 -0000
Received: from dsl081-173-150.sea1.dsl.speakeasy.net (HELO asus.tddhome) ([64.81.173.150])
          (envelope-sender <tomdean@speakeasy.org>)
          by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 11 Jun 2007 16:22:54 -0000
Received: from asus.tddhome (localhost.tddhome [127.0.0.1])
	by asus.tddhome (8.13.6/8.13.6) with ESMTP id l5BGMraX011706
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Jun 2007 09:22:53 -0700 (PDT)
	(envelope-from tomdean@asus.tddhome)
Received: (from tomdean@localhost)
	by asus.tddhome (8.13.6/8.13.6/Submit) id l5BGMrnA011705;
	Mon, 11 Jun 2007 09:22:53 -0700 (PDT)
	(envelope-from tomdean)
Message-Id: <200706111622.l5BGMrnA011705@asus.tddhome>
Date: Mon, 11 Jun 2007 09:22:53 -0700 (PDT)
From: User & <tomdean@speakeasy.org>
Reply-To: User & <tomdean@speakeasy.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bsd.port.mk Breaks Some Ports in FreeBSD 6.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113576
>Category:       ports
>Synopsis:       bsd.port.mk Breaks Some Ports in FreeBSD 6.2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 16:50:08 GMT 2007
>Closed-Date:    Mon Jun 11 23:13:13 GMT 2007
>Last-Modified:  Mon Jun 11 23:13:13 GMT 2007
>Originator:     User &
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Self
>Environment:
System: FreeBSD asus.tddhome 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Mar 15 23:53:46 PDT 2007 root@asus.tddhome:/usr/src/sys/i386/compile/GENERIC i386


	
>Description:
	
The change in bsd.port.mk from 1.54 to 1.568 broke the scilab port,
and possibly others.  FreeBSD 6.2 puts X11R6 in /usr/X11R6.

The previous, working, version of bsd.port.mk has X11 files in /usr/X11R6, if
installed by FreeBSD 6.2 install.

# $FreeBSD: /repoman/r/pcvs/ports/ports-mgmt/portmk/Mk/bsd.port.mk,v 1.54 2007/04/26 06:44:51 linimon Exp $ has:

# These need to be absolute since we don't know how deep in the ports
# tree we are and thus can't go relative.  They can, of course, be overridden
# by individual Makefiles or local system make configuration.
PORTSDIR?=		/usr/ports
DEVELPORTSDIR?=	${PORTSDIR}/ports-mgmt/portmk
LOCALBASE?=		/usr/local
X11BASE?=		/usr/X11R6
LINUXBASE?=		/compat/linux
LOCALBASE_REL:=		${LOCALBASE}
X11BASE_REL:=		${X11BASE}
LINUXBASE_REL:=		${LINUXBASE}
LOCALBASE:=		${DESTDIR}${LOCALBASE_REL}
X11BASE:=		${DESTDIR}${X11BASE_REL}
LINUXBASE:=		${DESTDIR}${LINUXBASE_REL}
DISTDIR?=		${PORTSDIR}/distfiles
_DISTDIR?=		${DISTDIR}/${DIST_SUBDIR}

The latest version of bsd.port.mk has X11 related files in /usr/local

# $FreeBSD: ports/Mk/bsd.port.mk,v 1.568 2007/05/25 00:09:37 linimon Exp $ has:

# These need to be absolute since we don't know how deep in the ports
# tree we are and thus can't go relative.  They can, of course, be overridden
# by individual Makefiles or local system make configuration.
PORTSDIR?=              /usr/ports
LOCALBASE?=             /usr/local
X11BASE?=               ${LOCALBASE}
LINUXBASE?=             /compat/linux
LOCALBASE_REL:=         ${LOCALBASE}
X11BASE_REL:=           ${X11BASE}
LINUXBASE_REL:=         ${LINUXBASE}
LOCALBASE:=             ${DESTDIR}${LOCALBASE_REL}
X11BASE:=               ${DESTDIR}${X11BASE_REL}
LINUXBASE:=             ${DESTDIR}${LINUXBASE_REL}
DISTDIR?=               ${PORTSDIR}/distfiles
_DISTDIR?=              ${DISTDIR}/${DIST_SUBDIR}

>How-To-Repeat:
	
cvsup
cd /usr/ports/math/scilab
make

>Fix:
Revert bsd.port.mk to version 1.54 or add logic to determine if X11 is from the install or ports.

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 11 16:50:15 UTC 2007 
Responsible-Changed-Why:  
bsd.port.mk is port manager territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113576 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Mon Jun 11 19:00:18 UTC 2007 
State-Changed-Why:  
I don't follow. 

How is this change breaking scilab? The X.org installation moved to /usr/local 
recently. That's intended.  Any ports depending on xorg-libraries should have 
compatibility /usr/X11R6 symlink created, so no change should be visible. 

How exactly is the scilab port broken? Oh, and do you have 100% updated ports? 
We don't support installing into packages from 6.2 CDs... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113576 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Mon Jun 11 23:12:46 UTC 2007 
State-Changed-Why:  
Problem appears to be user error relating to the x.org upgrade. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113576 
>Unformatted:
