pkgsrc/x11/egtk/patches/patch-aa
jlam f7ba2f2ce5 Update eGTK to 0.3.4. Changes from 0.3.3:
* December 15th, 1999 - version 0.3.4-1 released. Fixes to get rid
       of some SE warnings and some cleanup of obsolete classes.
     * December 10th, 1999 - version 0.3.4 released. Includes number of
       bugfixes, improvements to GTK_PIXMAP and GTK_WIDGET, and new
       examples. See CHANGELOG file for details.
     * October 25th, 1999 - removed all references to EIFFEL_GTK
       (replaced with EGTK) and renamed the archive file to
       eGTK-0.3.3-1.tar.gz.
     * October 15th, 1999 - version 0.3.3-1. Bug fixes in GTK_IDENTIFIED
       and related C code for 64-bit machines.
2000-02-25 17:57:59 +00:00

64 lines
1.8 KiB
Text

$NetBSD: patch-aa,v 1.2 2000/02/25 17:58:01 jlam Exp $
--- bin/egtkbuild.in.orig Tue Nov 30 22:57:02 1999
+++ bin/egtkbuild.in Fri Feb 25 12:31:59 2000
@@ -14,7 +14,7 @@
#
# .egtkbuild.rc should set the following variables, if necessary (the
# default value is shown), which will override the default settings:
-# COMPILE=compile_to_c
+# COMPILE="smalleiffel compile"
# SE_OPTS="-no_strip -no_style_warning -case_insensitive"
# DEBUG=-g
# OPTIMISE=-O
@@ -22,7 +22,7 @@
#
# It may also set these variables, which will be prepended to the default
# options (therefore do not repeat the default options):
-# CECIL (default: "-cecil ${EGTK}/C/se/cecil.se")
+# CECIL (default: "-cecil @PREFIX@/share/egtk/se/cecil.se")
# INCFLAGS (default: "-I. `gtk-config --cflags`")
# LIBS (default: "`gtk-config --libs`")
@@ -48,16 +48,15 @@
then
echo "Current settings:
SmallEiffel = $SmallEiffel
- EGTK = $EGTK
"
fi
-COMPILE=compile
+COMPILE="smalleiffel compile"
DEBUG=-g
OPTIMISE=-O
SE_OPTS="-no_strip -no_style_warning"
EXTERNAL=
-STATICLIB=${EGTK}/C/se/eif_gtk.a
+STATICLIB=@PREFIX@/lib/libegtk_se.a
GTKLIBS=`gtk-config --libs`
if [ -r ./.egtkbuild.rc ]
@@ -84,19 +83,10 @@
fi
fi
-INCFLAGS="$INCFLAGS -I. -I${EGTK}/C/se `gtk-config --cflags`"
+INCFLAGS="$INCFLAGS -I. `gtk-config --cflags`"
LIBS="$LIBS ${STATICLIB} ${GTKLIBS}"
-CECIL="$CECIL -cecil ${EGTK}/C/se/cecil.se"
-EXTERNAL="${EGTK}/C/se/eif_gtk_se.c $EXTERNAL"
-
-if [ ! -r ${STATICLIB} ]
-then
- echo "
-${STATICLIB} does not exist;
-cd to `dirname ${STATICLIB}`
-and build it with the command 'make -f Makefile.se'"
- exit 1
-fi
+CECIL="$CECIL -cecil @PREFIX@/share/egtk/se/cecil.se"
+EXTERNAL="@PREFIX@/share/egtk/se/eif_gtk_se.c $EXTERNAL"
if [ "$verbose" = TRUE ]
then