diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 11:54:50 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 11:54:50 +0000 |
commit | 568d186c3428cb49cf536e3145bfb92c808d01bc (patch) | |
tree | 31b0f5c06d274db62d7716b68c1dc99290d7540d /editors | |
parent | b33116f9449095623ad6e0a7548b85a033013b30 (diff) | |
download | ports-568d186c3428cb49cf536e3145bfb92c808d01bc.tar.gz ports-568d186c3428cb49cf536e3145bfb92c808d01bc.zip |
Notes
Diffstat (limited to 'editors')
-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 */ |