1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/editors/emacs20/files/patch-cc
Justin M. Seger 348a8f1b9d patch-ai, patch-an, patch-cg: Regenerated for emacs-20.7.
patch-cc (configure.in): Merged with patch-ch.
patch-af (src/unexfreebsd.c): Removed.  Not used by this port.
patch-ca (src/Makefile.in): Removed.  5-CURRENT's and
	4-STABLE's libtermcap -> libncurses symbolic link issues
	are now well handled by vendor's src/s/freebsd.h.
	Moved LIBS_XPG changes to patch-cb.
patch-cb (src/s/freebsd.h): Regenerate for emacs-20.7.
	Update the conditional of enclosing the USE_XPG check
	so as not to link libxpg4 on recently 5-CURRENT and
	4-STABLE after the merge of libxpg4 into libc.
	Added LIBS_XPG to LIBS_SYSTEM.

PR:		ports/19653
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
2000-07-30 03:45:10 +00:00

46 lines
1.5 KiB
Plaintext

--- configure.in.orig Tue Jun 6 00:42:49 2000
+++ configure.in Sat Jul 1 20:46:31 2000
@@ -42,6 +42,9 @@
AC_ARG_WITH(hesiod,
[ --with-hesiod support Hesiod to get the POP server host],
[AC_DEFINE(HESIOD)])
+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.
@@ -147,6 +150,15 @@
machine='' opsys='' unported=no
case "${canonical}" in
+ ## FreeBSD ports
+ *-*-freebsd* )
+ opsys=freebsd
+ case "${canonical}" in
+ alpha*-*-freebsd*) machine=alpha ;;
+ i[3456]86-*-freebsd*) machine=intel386 ;;
+ esac
+ ;;
+
## NetBSD ports
*-*-netbsd* )
opsys=netbsd
@@ -958,7 +970,6 @@
;;
*-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-386bsd* ) opsys=386bsd ;;
- *-freebsd* ) opsys=freebsd ;;
*-nextstep* ) opsys=nextstep ;;
## Otherwise, we'll fall through to the generic opsys code at the bottom.
esac
@@ -1639,7 +1650,7 @@
rename closedir mkdir rmdir sysinfo \
random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
-utimes setrlimit setpgid getcwd shutdown strftime)
+utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo)
# UNIX98 PTYs.
AC_CHECK_FUNCS(grantpt)