diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-05-01 09:56:45 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-05-01 09:56:45 +0000 |
commit | 7e860505f7ff3e97f03e4f9555385b47a5d9de87 (patch) | |
tree | 4ac022a1cf5e57aeb0d271c48fbc3e3057d2fd05 | |
parent | - Update to 4.1.4 (diff) |
- Add autoheader to USE_AUTOTOOLS[1].
- Include 'alloca' fix[1].
- Fix ImageMagick dependency to depend on X11[2].
Submitted by: Pan Tsu[1], swell.k@gmail.com[2]
Approved by: pgj (implicit)
Notes
Notes:
svn path=/head/; revision=273392
-rw-r--r-- | editors/emacs-devel/Makefile | 14 | ||||
-rw-r--r-- | editors/emacs-devel/files/patch-configure.in | 9 |
2 files changed, 16 insertions, 7 deletions
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index 5aaf6f1abf17..33c195609e7e 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -35,7 +35,7 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --localstatedir=/var WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USE_AUTOTOOLS= autoconf:env automake:env aclocal:env +USE_AUTOTOOLS= autoconf:env automake:env aclocal:env autoheader:env EMACS_DIRS= ${DATADIR}/${EMACS_VER}/leim ${DATADIR}/${EMACS_VER}/lisp ${DATADIR}/${EMACS_VER}/src \ ${PREFIX}/libexec/${PORTNAME} @@ -176,6 +176,12 @@ USE_XORG+= xft LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 .endif +.if defined(WITHOUT_IMAGEMAGICK) +CONFIGURE_ARGS+= --without-imagemagick +.else +LIB_DEPENDS+= MagickCore.4:${PORTSDIR}/graphics/ImageMagick +.endif + .if defined(WITHOUT_M17N) CONFIGURE_ARGS+= --without-m17n-flt .else @@ -214,12 +220,6 @@ CONFIGURE_ARGS+= --without-dbus LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus .endif -.if defined(WITHOUT_IMAGEMAGICK) -CONFIGURE_ARGS+= --without-imagemagick -.else -LIB_DEPENDS+= MagickCore.4:${PORTSDIR}/graphics/ImageMagick -.endif - .if defined(WITHOUT_XML) CONFIGURE_ARGS+= --without-xml2 .else diff --git a/editors/emacs-devel/files/patch-configure.in b/editors/emacs-devel/files/patch-configure.in index 5d6d00b3beef..42b134b43574 100644 --- a/editors/emacs-devel/files/patch-configure.in +++ b/editors/emacs-devel/files/patch-configure.in @@ -44,3 +44,12 @@ $FreeBSD$ case "$opsys" in dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ gnu-linux|freebsd|netbsd) +@@ -3547,6 +3547,8 @@ AH_BOTTOM([ + + #ifdef HAVE_ALLOCA_H + # include <alloca.h> ++#elif defined __FreeBSD__ ++#include <stdlib.h> + #elif defined __GNUC__ + # define alloca __builtin_alloca + #elif defined _AIX |