ports/113576: bsd.port.mk Breaks Some Ports in FreeBSD 6.2
User &
tomdean at speakeasy.org
Mon Jun 11 16:50:09 UTC 2007
>Number: 113576
>Category: ports
>Synopsis: bsd.port.mk Breaks Some Ports in FreeBSD 6.2
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 11 16:50:08 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list