Date: Sun, 8 Oct 2000 02:44:00 +0900 (JST) From: fujie@tk.elec.waseda.ac.jp To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21821: port: devel/glade source writing problem Message-ID: <200010071744.e97Hi0k91391@fujie.tk.elec.waseda.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 21821 >Category: ports >Synopsis: devel/glade fails to generate source code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 07 10:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Shinya FUJIE >Release: FreeBSD 4.1.1-STABLE i386 >Organization: TK Lab, WASEDA Univ. >Environment: FreeBSD washi.fujie.or.jp 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Sun Oct 8 01:10:28 JST 2000 root@:/usr/src/sys/compile/WASHI i386 >Description: ports/devel/glade fails to generate source code, because this port uses Mk/bsd.gnome.mk with USE_GNOME, but this override 'datadir' value on configure stage. so generated 'config.h' file contains wrong GLADE_DATA_DIR value. >How-To-Repeat: install glade with ports/devel/glade. then make a sample project and generate source code. then an error occurs with a message like "/usr/X11R6/share/gnome/glade/gnome/Makefile.am, No such file or directory" >Fix: put this patch in ports/devel/glade/patch. but there must be better way to solve. *** configure.orig Sun Oct 8 02:18:16 2000 --- configure Sun Oct 8 02:20:22 2000 *************** *** 4189,4214 **** ! if test "x${datadir}" = 'x${prefix}/share'; then ! if test "x${prefix}" = "xNONE"; then ! cat >> confdefs.h <<EOF ! #define GLADE_DATA_DIR "${ac_default_prefix}/share/${PACKAGE}" ! EOF ! ! else ! cat >> confdefs.h <<EOF #define GLADE_DATA_DIR "${prefix}/share/${PACKAGE}" EOF - - fi - else - cat >> confdefs.h <<EOF - #define GLADE_DATA_DIR "${datadir}/${PACKAGE}" - EOF - - fi - - # Check whether --enable-ansi or --disable-ansi was given. if test "${enable_ansi+set}" = set; then --- 4189,4197 ---- ! cat >> confdefs.h <<EOF #define GLADE_DATA_DIR "${prefix}/share/${PACKAGE}" EOF # Check whether --enable-ansi or --disable-ansi was given. if test "${enable_ansi+set}" = set; then >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010071744.e97Hi0k91391>