components/emacs/Makefile
changeset 686 b4fe91eb660b
parent 609 775168282b2f
child 800 2ad056ed89ec
equal deleted inserted replaced
685:5e6df462e21d 686:b4fe91eb660b
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		emacs
    25 COMPONENT_NAME=		emacs
    26 COMPONENT_VERSION=	23.1
    26 COMPONENT_VERSION=	23.4
    27 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/emacs/
    27 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/emacs/
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    30 COMPONENT_ARCHIVE_HASH=	sha1:5f2d5dfcc17e7627ea752f675c605fe37c9c145c
    30 COMPONENT_ARCHIVE_HASH=	sha1:5effbd2af6bf7a4feb2d80810e49b0ce47b463cb
    31 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/emacs/$(COMPONENT_ARCHIVE)
    31 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/emacs/$(COMPONENT_ARCHIVE)
    32 
    32 
    33 include ../../make-rules/prep.mk
    33 include ../../make-rules/prep.mk
    34 include ../../make-rules/configure.mk
    34 include ../../make-rules/configure.mk
    35 include ../../make-rules/ips.mk
    35 include ../../make-rules/ips.mk
    63 COMPILER =	gcc
    63 COMPILER =	gcc
    64 
    64 
    65 # Uncomment this for debugging only. It configures emacs to run from the
    65 # Uncomment this for debugging only. It configures emacs to run from the
    66 # local proto instead of from its final installed location.
    66 # local proto instead of from its final installed location.
    67 #CONFIGURE_PREFIX =	$(PROTO_DIR)/usr
    67 #CONFIGURE_PREFIX =	$(PROTO_DIR)/usr
       
    68 
       
    69 # The configure script runs the pkg-config command. Since we're building
       
    70 # 64-bit executables, we need pkg-config to use the 64-bit metadata files
       
    71 CONFIGURE_ENV += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig
    68 
    72 
    69 # configure options common to all variants of emacs that we want to build.
    73 # configure options common to all variants of emacs that we want to build.
    70 CONFIGURE_OPTIONS +=	CC="$(CC) -m64"
    74 CONFIGURE_OPTIONS +=	CC="$(CC) -m64"
    71 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    75 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
    72 CONFIGURE_OPTIONS +=	--datarootdir=$(CONFIGURE_PREFIX)/share
    76 CONFIGURE_OPTIONS +=	--datarootdir=$(CONFIGURE_PREFIX)/share