aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1999-09-22 12:36:58 +0800
committerchuckr <chuckr@FreeBSD.org>1999-09-22 12:36:58 +0800
commitd3a41268dd99d406e9f724c751b8d5cd245257ff (patch)
tree45ecd81339bd0a3a11e6d87975573f2044d954bb /editors
parent00538e25b33c6f24e0c9e1fabfc3e8fbc76e667f (diff)
downloadfreebsd-ports-gnome-d3a41268dd99d406e9f724c751b8d5cd245257ff.tar.gz
freebsd-ports-gnome-d3a41268dd99d406e9f724c751b8d5cd245257ff.tar.zst
freebsd-ports-gnome-d3a41268dd99d406e9f724c751b8d5cd245257ff.zip
This is still badly broken, but this fixes the worst bugs (at least it
gets started, the lib part compiles now). Chief problems were that the configure script was looking for thot in an archive named Thot, and the configure script requires all enables/disables, withs/withouts to be explicitly laid out, else there's a ream of sed errors. Oh, yeah, the WRKSRC had to be explitly created too.
Diffstat (limited to 'editors')
-rw-r--r--editors/thoteditor/Makefile10
-rw-r--r--editors/thoteditor/files/patch-aa43
-rw-r--r--editors/thoteditor/files/patch-ab11
-rw-r--r--editors/thoteditor/files/patch-ac4
4 files changed, 34 insertions, 34 deletions
diff --git a/editors/thoteditor/Makefile b/editors/thoteditor/Makefile
index 402a2cbb207d..4cf4b3d834c6 100644
--- a/editors/thoteditor/Makefile
+++ b/editors/thoteditor/Makefile
@@ -21,6 +21,7 @@ DISTFILES= ${THOT_SRC} ${EDITOR_SRC}
MAINTAINER= chuckr@FreeBSD.org
BROKEN= 'FUBARed'
+WRKSRC= $(WRKDIR)/Thot/objects
THOT_SRC= thot-src-2.1e.tar.gz
EDITOR_SRC= thoteditor-src-2.1e.tar.gz
@@ -28,12 +29,17 @@ EDITOR_SRC= thoteditor-src-2.1e.tar.gz
EXTRACT_ONLY= ${THOT_SRC}
REQUIRES_MOTIF= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-thot --enable-plugin
+USE_GMAKE= yes
+CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu
USE_GMAKE= yes
ALL_TARGET= all schemas
+do-configure:
+ (cd $(WRKDIR)/Thot/objects;../configure $(CONFIGURE_ARGS))
+
post-extract:
- (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${EDITOR_SRC} ${EXTRACT_AFTER_ARGS} -C ${WRKSRC})
+ (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${EDITOR_SRC} ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}/Thot)
+ (cd $(WRKDIR)/Thot;$(MKDIR) objects)
post-install:
${MKDIR} ${PREFIX}/share/thot/doc
diff --git a/editors/thoteditor/files/patch-aa b/editors/thoteditor/files/patch-aa
index ff7b5d989435..314e6832a051 100644
--- a/editors/thoteditor/files/patch-aa
+++ b/editors/thoteditor/files/patch-aa
@@ -1,19 +1,24 @@
-*** tools/javastub/javastub.c.orig Sun Aug 24 00:04:06 1997
---- tools/javastub/javastub.c Sun Aug 24 00:04:49 1997
-***************
-*** 11,17 ****
- #include <stdio.h>
- #include <stdlib.h>
-
-! #include "config.h"
-
- #include <ctype.h>
- #include <string.h>
---- 11,17 ----
- #include <stdio.h>
- #include <stdlib.h>
-
-! #include "../../config.h"
-
- #include <ctype.h>
- #include <string.h>
+--- ../configure.orig Wed Sep 22 00:01:33 1999
++++ ../configure Wed Sep 22 00:04:04 1999
+@@ -5261,7 +5261,7 @@
+ build_amaya="no"
+ fi
+
+-if test ! -f $srcdir/thot/Makefile.in ; then
++if test ! -f $srcdir/Thot/Makefile.in ; then
+ echo "configure: warning: Thot editor sources not found" 1>&2
+ build_thot="no"
+ fi
+@@ -5594,10 +5594,10 @@
+
+ if test "$build_thot" = "yes" ; then
+
+- make_output="$make_output thot/Makefile \
++ make_output="$make_output Thot/Makefile \
+ drawlib/Makefile indexlib/Makefile"
+ EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
+-$srcdir/thot/Makefile.in \
++$srcdir/Thot/Makefile.in \
+ $srcdir/drawlib/Makefile.in \
+ $srcdir/indexlib/Makefile.in"
+
diff --git a/editors/thoteditor/files/patch-ab b/editors/thoteditor/files/patch-ab
deleted file mode 100644
index a6d105d81f97..000000000000
--- a/editors/thoteditor/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- thot/Makefile.in.orig Fri May 16 07:00:19 1997
-+++ thot/Makefile.in Fri Feb 12 15:11:54 1999
-@@ -13,7 +13,7 @@
- -I@top_srcdir@/drawlib -I@top_srcdir@/drawlib/f
- LDFLAGS = @LDFLAGS@ -L../indexlib -L../drawlib -L../tablelib -L../thotlib -L..
- LIBS = -lThotIndex -lThotDraw -lThotTable -lThotEditor @IMGLIBS@ \
-- $(MOTIF_LIBRARIES) -lXm $(X_LIBS) -lXt -lXext $(X_PRE_LIBS) \
-+ ${MOTIFLIB} $(X_LIBS) -lXp -lXt -lXext $(X_PRE_LIBS) \
- -lX11 $(X_EXTRA_LIBS) @LIBS@ @EXTRA_LIBS@ -lm
-
- prefix = @prefix@
diff --git a/editors/thoteditor/files/patch-ac b/editors/thoteditor/files/patch-ac
index 9069c68f8293..a174d63f9d1c 100644
--- a/editors/thoteditor/files/patch-ac
+++ b/editors/thoteditor/files/patch-ac
@@ -1,5 +1,5 @@
---- makes/Makefile.template.orig Tue May 6 23:55:03 1997
-+++ makes/Makefile.template Fri Feb 12 15:06:58 1999
+--- ../makes/Makefile.template.orig Tue May 6 23:55:03 1997
++++ ../makes/Makefile.template Fri Feb 12 15:06:58 1999
@@ -56,7 +56,7 @@
# MOTIFLIBS : how to grab Motif at link time.
# X11R6 probably need -lSM -lICE