pkgsrc/editors/emacs21/patches/patch-bg
markd 005073fa51 Reimport existing emacs packages as emacs21{,-nox11} to allow
subsequent update of emacs packages to version 22.
2007-06-11 13:38:24 +00:00

21 lines
571 B
Text

$NetBSD: patch-bg,v 1.1 2007/06/11 13:38:44 markd Exp $
--- configure.in.orig Fri Apr 18 19:04:25 2003
+++ configure.in
@@ -2177,6 +2177,16 @@
# Fixme: This should be replaced when we have autoconf 2.14.
AC_SIZE_T
+# NETBSD: NetBSD's newer run-time linker fix.
+if test $opsys = netbsd; then
+ if test -f /usr/lib/crti.o; then
+ AC_DEFINE(HAVE_NETBSD_CRTI)
+ fi
+ if test -f /usr/lib/crtn.o; then
+ AC_DEFINE(HAVE_NETBSD_CRTN)
+ fi
+fi
+
# Set up the CFLAGS for real compilation, so we can substitute it.
CFLAGS="$REAL_CFLAGS"
CPPFLAGS="$REAL_CPPFLAGS"