diff options
author | jlam <jlam@pkgsrc.org> | 1999-10-13 19:08:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-10-13 19:08:28 +0000 |
commit | be6d8cbfb1558ebe8e448721b7725b8382804b4d (patch) | |
tree | f32be9e4a589089918ea9a77cb7187b43c8137e0 /x11/egtk/patches | |
parent | a07b19af15b41510bbfbb7248393f7f1ee40fc11 (diff) | |
download | pkgsrc-be6d8cbfb1558ebe8e448721b7725b8382804b4d.tar.gz |
Initial import of eGTK, an Eiffel interface to the GTK+ widget set.
Diffstat (limited to 'x11/egtk/patches')
-rw-r--r-- | x11/egtk/patches/patch-aa | 64 | ||||
-rw-r--r-- | x11/egtk/patches/patch-ab | 32 |
2 files changed, 96 insertions, 0 deletions
diff --git a/x11/egtk/patches/patch-aa b/x11/egtk/patches/patch-aa new file mode 100644 index 00000000000..51ec29feafa --- /dev/null +++ b/x11/egtk/patches/patch-aa @@ -0,0 +1,64 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/10/13 19:08:29 jlam Exp $ + +--- bin/egtkbuild.in.orig Sat Aug 28 20:10:24 1999 ++++ bin/egtkbuild.in Wed Oct 13 02:55:32 1999 +@@ -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 ++# COMPILE="smalleiffel compile" + # SE_OPTS="-no_strip -no_style_warning" + # 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 ${EIFFEL_GTK}/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 +- EIFFEL_GTK = $EIFFEL_GTK + " + fi + +-COMPILE=compile ++COMPILE="smalleiffel compile" + DEBUG=-g + OPTIMISE=-O + SE_OPTS="-no_strip -no_style_warning" + EXTERNAL= +-STATICLIB=${EIFFEL_GTK}/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${EIFFEL_GTK}/C/se `gtk-config --cflags`" ++INCFLAGS="$INCFLAGS -I. `gtk-config --cflags`" + LIBS="$LIBS ${STATICLIB} ${GTKLIBS}" +-CECIL="$CECIL -cecil ${EIFFEL_GTK}/C/se/cecil.se" +-EXTERNAL="${EIFFEL_GTK}/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 diff --git a/x11/egtk/patches/patch-ab b/x11/egtk/patches/patch-ab new file mode 100644 index 00000000000..57e7a580878 --- /dev/null +++ b/x11/egtk/patches/patch-ab @@ -0,0 +1,32 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/10/13 19:08:29 jlam Exp $ + +--- man/egtkbuild.1.in.orig Thu Aug 12 16:29:14 1999 ++++ man/egtkbuild.1.in Wed Oct 13 02:48:09 1999 +@@ -32,7 +32,7 @@ + .TP + .B COMPILE + The command to use to compile the project; the default is +-.RB ' compile '. ++.RB ' "smalleiffel compile" '. + .TP + .B DEBUG + The flags to be given to the C compiler to control the inclusion of +@@ -54,7 +54,7 @@ + .TP + .B CECIL + Additional cecil files to be included. The default is +-.RB ' "-cecil ${EIFFEL_GTK}/C/se/cecil.se") ++.RB ' "-cecil @PREFIX@/share/egtk/se/cecil.se") + .TP + .B INCFLAGS + Compiler options to specify additional directories to search for +@@ -64,8 +64,7 @@ + .B EXTERNAL + Other *.c and *.o files to include in the compilation. By default this + variable contains +-.RB " ${EIFFEL_GTK}/C/eif_gtk.c +-.BR ${EIFFEL_GTK}/C/se/eif_gtk_se.c ". ++.RB ' "@PREFIX@/share/egtk/se/eif_gtk_se.c" '. + .TP + .B LIBS + Compiler options to specify additional directories to search for |