From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 26 18:00:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF77816A41F for ; Wed, 26 Oct 2005 18:00:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 215AC43D46 for ; Wed, 26 Oct 2005 18:00:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9QI0HCr050353 for ; Wed, 26 Oct 2005 18:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9QI0H4X050350; Wed, 26 Oct 2005 18:00:17 GMT (envelope-from gnats) Resent-Date: Wed, 26 Oct 2005 18:00:17 GMT Resent-Message-Id: <200510261800.j9QI0H4X050350@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nguyen Tam Chinh Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E3CB16A41F for ; Wed, 26 Oct 2005 17:51:20 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C371743D46 for ; Wed, 26 Oct 2005 17:51:19 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9QHpJeX038185 for ; Wed, 26 Oct 2005 17:51:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9QHpIdW038184; Wed, 26 Oct 2005 17:51:18 GMT (envelope-from nobody) Message-Id: <200510261751.j9QHpIdW038184@www.freebsd.org> Date: Wed, 26 Oct 2005 17:51:18 GMT From: Nguyen Tam Chinh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/88044: xvnkb build failed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 18:00:19 -0000 >Number: 88044 >Category: ports >Synopsis: xvnkb build failed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 26 18:00:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nguyen Tam Chinh >Release: 6.0-BETA5 >Organization: sp.cs.msu.su >Environment: FreeBSD it.hackers 6.0-BETA5 FreeBSD 6.0-BETA5 #4: Sat Oct 1 02:09:09 MSD 2005 chinhngt@it.hackers:/mnt/free/obj/usr/src/sys/kernel i386 >Description: The xvnkb build failed due to using fix environment variables >How-To-Repeat: build vi-xvnkb with X11BASE different than /usr/X11R6 or /opt/X11R6 >Fix: diff -ur vietnamese/xvnkb.orig/Makefile vietnamese/xvnkb/Makefile --- vietnamese/xvnkb.orig/Makefile Wed Oct 26 00:59:58 2005 +++ vietnamese/xvnkb/Makefile Wed Oct 26 01:59:30 2005 @@ -22,6 +22,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes +CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" X11BASE="${X11BASE}" + .if defined(WITHOUT_XFT) CONFIGURE_ARGS+= --no-xft .else diff -ur vietnamese/xvnkb.orig/files/patch-configure vietnamese/xvnkb/files/patch-configure --- vietnamese/xvnkb.orig/files/patch-configure Wed Dec 29 21:08:46 2004 +++ vietnamese/xvnkb/files/patch-configure Wed Oct 26 01:04:45 2005 @@ -1,6 +1,19 @@ ---- configure.orig Fri Jan 16 23:19:17 2004 -+++ configure Wed Dec 29 00:11:23 2004 -@@ -228,7 +228,7 @@ +--- config/configure.orig Wed Oct 26 01:02:25 2005 ++++ config/configure Wed Oct 26 01:03:45 2005 +@@ -28,10 +28,8 @@ + } + + xcc=$CC +-#prefix=/usr/local +-x_dirs="/usr/X11R6 /usr/X11 /usr/include \ +- /usr/local/X11R6 /usr/local/X11 /usr/local/include \ +- /opt/X11R6 /opt/X11 /opt/include" ++prefix=${LOCALBASE} ++x_dirs=${X11BASE} + + if [ ! -f VERSION ]; then + echo +@@ -228,7 +226,7 @@ fi echo "VERSION=$version" > Makefile.cfg Only in vietnamese/xvnkb.orig: patch-configure >Release-Note: >Audit-Trail: >Unformatted: