diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 19:54:50 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 19:54:50 +0800 |
commit | e9f297414ca9e4df2d2333d8cea0ea56e44289f0 (patch) | |
tree | ff57d05677975baaaa4d221ff205e81e4abc8796 /editors/emacs20 | |
parent | 4c8ac7a2827df3934718bf3e7d7c0c7d6b97a14f (diff) | |
download | freebsd-ports-gnome-e9f297414ca9e4df2d2333d8cea0ea56e44289f0.tar.gz freebsd-ports-gnome-e9f297414ca9e4df2d2333d8cea0ea56e44289f0.tar.zst freebsd-ports-gnome-e9f297414ca9e4df2d2333d8cea0ea56e44289f0.zip |
Add USE_XPGLIB extension (default OFF).
PR: ports/8775
Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'editors/emacs20')
-rw-r--r-- | editors/emacs20/Makefile | 8 | ||||
-rw-r--r-- | editors/emacs20/files/patch-cb | 16 | ||||
-rw-r--r-- | editors/emacs20/files/patch-cc | 12 | ||||
-rw-r--r-- | editors/emacs20/files/patch-cd | 12 |
4 files changed, 47 insertions, 1 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index d9a147b41c4b..a6bd65561da2 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -3,7 +3,7 @@ # Date created: 29 October 1994 # Whom: jkh # -# $Id: Makefile,v 1.32 1998/09/01 02:29:50 jseger Exp $ +# $Id: Makefile,v 1.33 1998/09/01 07:11:31 asami Exp $ # DISTNAME= emacs-20.3 @@ -19,6 +19,12 @@ MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" MAN1= emacs.1 etags.1 ctags.1 PLIST_SUB= EMACS_VER=20.3 +.if defined(USE_XPGLIB) +.if (${USE_XPGLIB} == "YES") +CONFIGURE_ARGS+= --with-xpg4 +.endif +.endif + pre-build: ${RM} -rf ${WRKSRC}/info/* diff --git a/editors/emacs20/files/patch-cb b/editors/emacs20/files/patch-cb new file mode 100644 index 000000000000..fe5f9671b66a --- /dev/null +++ b/editors/emacs20/files/patch-cb @@ -0,0 +1,16 @@ +--- src/s/freebsd.h.orig Wed Nov 11 21:22:03 1998 ++++ src/s/freebsd.h Wed Nov 11 21:52:19 1998 +@@ -45,6 +45,13 @@ + #define LIBS_SYSTEM -lutil + #define LIBS_TERMCAP -ltermcap + ++/* Use XPG4 Library for FreeBSD */ ++#if __FreeBSD_version >= 220000 ++#ifdef USE_XPG ++#define LIBS_XPG -lxpg4 ++#endif ++#endif ++ + #define SYSV_SYSTEM_DIR + + /* freebsd has POSIX-style pgrp behavior. */ diff --git a/editors/emacs20/files/patch-cc b/editors/emacs20/files/patch-cc new file mode 100644 index 000000000000..ec35177dedca --- /dev/null +++ b/editors/emacs20/files/patch-cc @@ -0,0 +1,12 @@ +--- configure.in.orig Sat Nov 21 08:59:52 1998 ++++ configure.in Sat Nov 21 08:58:16 1998 +@@ -57,6 +57,9 @@ + AC_ARG_WITH(gssapi, + [ --with-gssapi support GSSAPI-authenticated POP], + [AC_DEFINE(GSSAPI)]) ++AC_ARG_WITH(xpg4, ++[ --with-xpg4 support XPG4 library on FreeBSD system], ++[AC_DEFINE(USE_XPG)]) + dnl This should be the last --with option, because --with-x is + dnl added later on when we find the path of X, and it's best to + dnl keep them together visually. diff --git a/editors/emacs20/files/patch-cd b/editors/emacs20/files/patch-cd new file mode 100644 index 000000000000..9792250f67b9 --- /dev/null +++ b/editors/emacs20/files/patch-cd @@ -0,0 +1,12 @@ +--- src/config.in.orig Sat Nov 21 09:00:30 1998 ++++ src/config.in Sat Nov 21 09:00:58 1998 +@@ -118,6 +118,9 @@ + /* Define to support using a Hesiod database to find the POP server. */ + #undef HESIOD + ++/* Define to support using a XPG4 library on FreeBSD system. */ ++#undef USE_XPG ++ + /* Some things figured out by the configure script, grouped as they are in + configure.in. */ + #ifndef _ALL_SOURCE /* suppress warning if this is pre-defined */ |