Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 1998 18:25:01 +0100
From:      Eivind Eklund <eivind@yes.no>
To:        Steve Price <steve@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/editors/xemacs20 Makefile
Message-ID:  <19980215182501.38811@follo.net>
In-Reply-To: <199802151543.HAA29076@freefall.freebsd.org>; from Steve Price on Sun, Feb 15, 1998 at 07:43:43AM -0800
References:  <199802151543.HAA29076@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 15, 1998 at 07:43:43AM -0800, Steve Price wrote:
> steve       1998/02/15 07:43:43 PST
> 
>   Modified files:
>     editors/xemacs20     Makefile 
>   Log:
>   Build this port with '--with-xface=no'.
>   
>   PR:		5656
>   
>   Revision  Changes    Path
>   1.8       +2 -1      ports/editors/xemacs20/Makefile

How about this? (Concept only; I haven't tested this.)

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/xemacs20/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    1998/02/15 15:43:42     1.8
+++ Makefile    1998/02/15 16:06:48
@@ -34,8 +34,7 @@
                --site-includes=${PREFIX}/include \
                --site-libraries=${PREFIX}/lib \
                --sitelispdir="${PREFIX}/lib/xemacs/site-lisp ${PREFIX}/share/emacs/site-lisp" \
-               --with-xface=no \
-               ${WITH_MULE} ${WITH_DIALOGS}
+               ${WITH_XFACE} ${WITH_MULE} ${WITH_DIALOGS}
 MAN1=          ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
                gnuserv.1 xemacs.1
 ALL_TARGET=    all dist
@@ -60,6 +59,11 @@
 # hack to avoid shipping binaries linked with Motif
 .if defined(MOTIF_STATIC)
 WITH_DIALOGS=  --with-dialogs=athena
 .endif
+
+# Drop faces if building package, autodetect otherwise
+.ifmake package
+WITH_XFACE?=   --with-xface=no
+.endif
 
 post-install:


Autodetecting when built locally certainly sounds like a feature to me; the
only problem seems to be when building packages.

Eivind.

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?19980215182501.38811>