ports/88044: xvnkb build failed
Nguyen Tam Chinh
chinhngt at sectorb.msk.ru
Wed Oct 26 18:00:19 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list