On Wed, 14 Feb 2007, steven mestdagh wrote:
can you not just get rid of the 'hit enter to continue', and avoid
IS_INTERACTIVE? it dumps core on startup on amd64, but that looks like a
Sure, I just figured that since the package was not built by default it
was not a real problem.
Anyway, IS_INTERACTIVE is avoided now.
lesstif problem. someone sent in an update for lesstif not so long ago.
I trust you on this one.
diff -ruN --exclude CVS /usr/ports/editors/nedit/Makefile nedit/Makefile
--- /usr/ports/editors/nedit/Makefile Tue Feb 13 13:59:58 2007
+++ nedit/Makefile Wed Feb 14 18:53:02 2007
@@ -37,6 +37,10 @@
PATCH_LIST= patch-* ${DISTDIR}/wrapmark.diff
.endif
+.if ${FLAVOR:L:Mlesstif}
+CFLAGS+= -DBUILD_UNTESTED_NEDIT
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/source/nedit ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/source/nc ${PREFIX}/bin/ncl
diff -ruN --exclude CVS
/usr/ports/editors/nedit/patches/patch-makefiles_Makefile_openbsd
nedit/patches/patch-makefiles_Makefile_openbsd
--- /usr/ports/editors/nedit/patches/patch-makefiles_Makefile_openbsd Fri Jan
5 20:39:40 2007
+++ nedit/patches/patch-makefiles_Makefile_openbsd Wed Feb 14 18:51:00 2007
@@ -1,8 +1,8 @@
$OpenBSD: patch-makefiles_Makefile_openbsd,v 1.4 2007/01/05 19:39:40 ajacoutot
Exp $
--- makefiles/Makefile.openbsd.orig Sat Nov 22 14:03:39 2003
-+++ makefiles/Makefile.openbsd Fri Jan 5 20:35:04 2007
++++ makefiles/Makefile.openbsd Wed Feb 14 18:49:25 2007
@@ -1,6 +1,6 @@
- # $Id: patch-makefiles_Makefile_openbsd,v 1.4 2007/01/05 19:39:40 ajacoutot
Exp $
+ # $Id: Makefile.openbsd,v 1.4 2003/11/22 13:03:39 edg Exp $
-CC=cc
-AR=ar
+CC?=cc
diff -ruN --exclude CVS
/usr/ports/editors/nedit/patches/patch-util_check_lin_tif_c
nedit/patches/patch-util_check_lin_tif_c
--- /usr/ports/editors/nedit/patches/patch-util_check_lin_tif_c Thu Jan 1
01:00:00 1970
+++ nedit/patches/patch-util_check_lin_tif_c Wed Feb 14 18:51:00 2007
@@ -0,0 +1,34 @@
+$OpenBSD$
+--- util/check_lin_tif.c.orig Wed Feb 14 18:49:34 2007
++++ util/check_lin_tif.c Wed Feb 14 18:50:45 2007
+@@ -158,7 +158,6 @@ void finish(int exitcode, char *tif) {
+ good_versions();
+ if (exitcode == 1) {
+ #ifdef BUILD_BROKEN_NEDIT
+- char buf[2];
+ fprintf(stderr,
+ "\n========================== WARNING
===========================\n"
+ "You have chosen to build NEdit with a known-bad version of %s,\n"
+@@ -167,7 +166,6 @@ void finish(int exitcode, char *tif) {
+ "reproduce them with a known-good NEdit binary downloaded from:\n"
+ "\thttp://www.nedit.org\n"
+ "\nHIT ENTER TO CONTINUE\n", tif);
+- fgets(buf, 2, stdin);
+ exit(0);
+ #else
+ fprintf(stderr,
+@@ -179,14 +177,12 @@ void finish(int exitcode, char *tif) {
+ #endif
+ } else if (exitcode == 2) {
+ #ifdef BUILD_UNTESTED_NEDIT
+- char buf[2];
+ fprintf(stderr,
+ "\n========================== WARNING
===========================\n"
+ "You have chosen to build NEdit with an untested version of %s.\n"
+ "Please report your success or failure with this version to:\n"
+ "[EMAIL PROTECTED]"
+ "\nHIT ENTER TO CONTINUE\n", tif);
+- fgets(buf, 2, stdin);
+ exit(0);
+ #else
+ fprintf(stderr,
--
Antoine