diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-29 18:49:33 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-29 18:49:33 +0000 |
commit | a953ca4ff7efb5f0064418f98c9101f09740b654 (patch) | |
tree | ac43b9adfc0b864957f943686290763bfe017412 /editors/emacs.app/Makefile | |
parent | - take maintainership (diff) |
- avoid fixed pathname
- fix build with new gnustep-gui
- take maintainership
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=212275
Diffstat (limited to 'editors/emacs.app/Makefile')
-rw-r--r-- | editors/emacs.app/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/editors/emacs.app/Makefile b/editors/emacs.app/Makefile index edecfcefb292..ec292506e8a5 100644 --- a/editors/emacs.app/Makefile +++ b/editors/emacs.app/Makefile @@ -7,17 +7,15 @@ PORTNAME= emacs.app PORTVERSION= 9.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors gnustep MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= emacs-app DISTNAME= emacs-23.0.0_NS-${PORTVERSION}pre3b -MAINTAINER= gurkan@phys.ethz.ch +MAINTAINER= dinoex@FreeBSD.org COMMENT= The GNU Emacs editor on GNUstep -BROKEN= Does not compile - USE_GNUSTEP= yes USE_GNUSTEP_CONFIGURE= yes USE_GNUSTEP_BUILD= yes @@ -27,8 +25,11 @@ USE_GNUSTEP_BACK= yes USE_GNUSTEP_MAKE= yes WRKSRC= ${WRKDIR}/${DISTNAME} -CPPFLAGS+= -I${PREFIX}/System/Library/Headers/ -CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" MAKE="${GMAKE}" +CPPFLAGS+= -I${GNUSTEP_SYSTEM_ROOT}/Library/Headers +CFLAGS+= -I${GNUSTEP_SYSTEM_ROOT}/Library/Headers +LDFLAGS+= -L${GNUSTEP_SYSTEM_ROOT}/Library/Libraries +CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKE="${GMAKE}" +CONFIGURE_ENV+= GNUSTEP_SYSTEM_HEADERS="${GNUSTEP_SYSTEM_ROOT}/Library/Headers" BASEDIR= ${WRKSRC}/nextstep/build/Emacs.app CONFIGURE_ARGS+= --without-gcc --with-ns --without-x --with-pop \ --prefix=${BASEDIR}/Resources --exec-prefix=${BASEDIR} --libexecdir=${BASEDIR}/libexec \ @@ -36,6 +37,7 @@ CONFIGURE_ARGS+= --without-gcc --with-ns --without-x --with-pop \ USE_GMAKE= yes USE_MAKEFILE= yes MAKE_ENV+= MAKE="${GMAKE}" EMACSLOADPATH="${WRKSRC}/lisp:${WRKSRC}/leim" +MAKE_ENV+= GNUSTEP_SYSTEM_HEADERS="${GNUSTEP_SYSTEM_ROOT}/Library/Headers" post-configure: @${REINPLACE_CMD} -e 's|#define config_machfile "m/.h"|#define config_machfile "m/sparc.h"|g' ${WRKSRC}/src/config.h |