Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 21:28:35 +1300 (NZDT)
From:      Joe Abley <jabley@buddha.clear.net.nz>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        steve@FreeBSD.ORG
Subject:   ports/9552: Additional compile-time option for xemacs20 port
Message-ID:  <199901180828.VAA15995@buddha.clear.net.nz>

next in thread | raw e-mail | index | archive | help

>Number:         9552
>Category:       ports
>Synopsis:       allow --with-session option when compiling
>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:   Mon Jan 18 00:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Joe Abley
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
CLEAR Communications Ltd
>Environment:

	FreeBSD-CURRENT

>Description:

	The --with-session option is useful when compiling xemacs
	to be used under x11 with windowmaker - without this option
	there is no icon to clip into the dock.

>How-To-Repeat:

	Not applicable

>Fix:

	The following patch to ports/editors/xemacs20 allows the installer
	to specify a USE_SESSION environment variable, which causes the
	--with-session flag to be passed to xemacs' configure script.

--- Makefile.orig	Tue Jan 12 17:19:27 1999
+++ Makefile	Mon Jan 18 11:03:27 1999
@@ -32,7 +32,8 @@
 		--site-includes=${PREFIX}/include \
 		--site-libraries=${PREFIX}/lib \
 		--sitelispdir="${PREFIX}/lib/xemacs/site-lisp ${PREFIX}/share/emacs/site-lisp" \
-		${WITH_XFACE} ${WITH_MULE} ${WITH_DIALOGS} ${WITH_OFFIX}
+		${WITH_XFACE} ${WITH_MULE} ${WITH_DIALOGS} ${WITH_OFFIX} \
+		${WITH_SESSION}
 MAN1=		ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
 		gnuserv.1 xemacs.1
 ALL_TARGET=	all dist
@@ -52,6 +53,11 @@
 WITH_MULE=	--with-mule
 MULEDISTFILE=	${DISTNAME}-mule.tar.gz
 PLIST=		${PKGDIR}/PLIST.mule
+.endif
+
+# Useful for WindowMaker
+.if defined(USE_SESSION)
+WITH_SESSION=	--with-session=yes
 .endif
 
 # hack to avoid shipping binaries linked with Motif
>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?199901180828.VAA15995>