Date: Sun, 31 Mar 2013 12:14:18 +0200 (CEST) From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/177518: [patch] editors/emacs builds with gtk3 even if gtk2 selected Message-ID: <20130331101418.CCB5A1233E@slackbox.erewhon.net> Resent-Message-ID: <201303311020.r2VAK0WA075119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177518 >Category: ports >Synopsis: [patch] editors/emacs builds with gtk3 even if gtk2 selected >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 31 10:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Roland Smith >Release: FreeBSD 9.1-RELEASE-p1 amd64 >Organization: >Environment: System: FreeBSD slackbox.erewhon.net 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #0 r247839: Wed Mar 6 01:08:14 CET 2013 rsmith@slackbox.erewhon.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When building emacs-24.3,3, I realized that it used gtk3, even though gtk2 was selected in options. It turns out that this is a bug in the port Makefile, which tries to select gtk1 instead of gkt2! >How-To-Repeat: Build the port with both gtk2 and gtk3 installed. >Fix: Apply the following small fix to the port Makefile --- Makefile.orig 2013-03-31 12:02:39.000000000 +0200 +++ Makefile 2013-03-31 12:02:53.000000000 +0200 @@ -102,7 +102,7 @@ .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 -CONFIGURE_ARGS+= --with-x-toolkit=gtk +CONFIGURE_ARGS+= --with-x-toolkit=gtk2 .elif ${PORT_OPTIONS:MGTK3} USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-x-toolkit=gtk3 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130331101418.CCB5A1233E>