$NetBSD: patch-src_Makefile.in,v 1.2 2016/05/03 09:41:20 wiz Exp $ * Use giflib 5.0. --- src/Makefile.in.orig 2003-01-23 10:34:06.000000000 +0000 +++ src/Makefile.in @@ -402,7 +402,7 @@ LIBXT= #if HAVE_GIF #ifndef LIBGIF -#define LIBGIF -lungif +#define LIBGIF -lgif #endif /* not defined LIBGIF */ #else /* not HAVE_GIF */ #define LIBGIF @@ -847,6 +847,7 @@ emacs: temacs ${etc}DOC ${lisp} #else /* ! defined (HAVE_SHM) */ LC_ALL=C ./temacs -batch -l loadup dump #endif /* ! defined (HAVE_SHM) */ + -/usr/sbin/paxctl +a emacs #endif /* ! defined (CANNOT_DUMP) */ -./emacs -q -batch -f list-load-path-shadows @@ -875,6 +876,9 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STAR $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \ -o temacs ${STARTFILES} ${obj} ${otherobj} \ OBJECTS_MACHINE ${LIBES} +#ifndef CANNOT_DUMP + -/usr/sbin/paxctl +a temacs +#endif /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE often contain options that have to do with using Emacs's crt0, @@ -1241,6 +1245,7 @@ bootstrap-emacs: bootstrap-temacs bootst ./temacs -nl -batch -l loadup bootstrap #else /* ! defined (HAVE_SHM) */ ./temacs --batch --load loadup bootstrap + -/usr/sbin/paxctl +a emacs #endif /* ! defined (HAVE_SHM) */ #endif /* ! defined (CANNOT_DUMP) */ mv -f emacs bootstrap-emacs