usr/src/cmd/emacs/tools/build_emacs
changeset 72 82bde2a81435
parent 2 8f1801a322e9
equal deleted inserted replaced
71:121736d79438 72:82bde2a81435
    18 # fields enclosed by brackets "[]" replaced with your own identifying
    18 # fields enclosed by brackets "[]" replaced with your own identifying
    19 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 # information: Portions Copyright [yyyy] [name of copyright owner]
    20 #
    20 #
    21 # CDDL HEADER END
    21 # CDDL HEADER END
    22 #
    22 #
    23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    23 # Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
    24 # Use is subject to license terms.
       
    25 #
    24 #
    26 # ident	"@(#)build_emacs	1.2	09/10/29 SMI"
    25 # ident	"@(#)build_emacs	1.3	11/03/08 SMI"
    27 
    26 
    28 
    27 
    29 # Build GNU emacs for the Solaris SFW consolidation:
    28 # Build GNU emacs for the Solaris SFW consolidation:
    30 #
    29 #
    31 #	build_emacs class variant insroot
    30 #	build_emacs class variant insroot
    76 if [ ! -d $VER ]; then
    75 if [ ! -d $VER ]; then
    77 	/usr/bin/gzip -dc ${VER}.tar.gz | /usr/sfw/bin/gtar xpf -
    76 	/usr/bin/gzip -dc ${VER}.tar.gz | /usr/sfw/bin/gtar xpf -
    78 	/usr/bin/gpatch -p0 < augment/patch/buffer_menu.patch
    77 	/usr/bin/gpatch -p0 < augment/patch/buffer_menu.patch
    79 	/usr/bin/gpatch -p0 < augment/patch/sysmalloc.patch
    78 	/usr/bin/gpatch -p0 < augment/patch/sysmalloc.patch
    80 	/usr/bin/gpatch -p0 < augment/patch/dldump.patch
    79 	/usr/bin/gpatch -p0 < augment/patch/dldump.patch
       
    80 	/usr/bin/gpatch -p0 < augment/patch/xft.patch
    81 
    81 
    82 
    82 
    83 	# The GPL license under which emacs is published is
    83 	# The GPL license under which emacs is published is
    84 	# found in files named COPYING, throughout the package.
    84 	# found in files named COPYING, throughout the package.
    85 	# Prepend the Sun GPLv2 disclaimer text to all such
    85 	# Prepend the Sun GPLv2 disclaimer text to all such
   121 ac_cv_sys_long_file_names=yes;		export ac_cv_sys_long_file_names
   121 ac_cv_sys_long_file_names=yes;		export ac_cv_sys_long_file_names
   122 
   122 
   123 # Configure the distribution
   123 # Configure the distribution
   124 ./configure $BASE_OPT $TOOLKIT_OPT
   124 ./configure $BASE_OPT $TOOLKIT_OPT
   125 
   125 
       
   126 
   126 # Build it
   127 # Build it
   127 $MAKE
   128 $MAKE
   128 
   129 
   129 exit 0
   130 exit 0