diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-25 04:04:49 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-25 04:04:49 +0000 |
commit | f3699121daed7f654a8535232c8f691ec29f0fce (patch) | |
tree | ccf48a5503af5f542d6348c735636427f0e32318 /editors | |
parent | Correct the wroing variable USE_X11_PREFIX to USE_X_PREFIX. (diff) |
Upgrade to 1.12, and change depends to gtk11.
Notes
Notes:
svn path=/head/; revision=12831
Diffstat (limited to 'editors')
-rw-r--r-- | editors/gxedit/Makefile | 12 | ||||
-rw-r--r-- | editors/gxedit/distinfo | 2 | ||||
-rw-r--r-- | editors/gxedit/files/patch-aa | 31 | ||||
-rw-r--r-- | editors/gxedit/files/patch-ab | 23 |
4 files changed, 33 insertions, 35 deletions
diff --git a/editors/gxedit/Makefile b/editors/gxedit/Makefile index 48028e5f83d0..93ebfbde7e12 100644 --- a/editors/gxedit/Makefile +++ b/editors/gxedit/Makefile @@ -1,22 +1,20 @@ # New ports collection makefile for: gxedit -# Version required: 1.07 +# Version required: 1.12 # Date created: 01 Jul 1998 # Whom: Dom Mitchell <dom@myrddin.demon.co.uk> # -# $Id: Makefile,v 1.9 1998/08/05 09:30:49 asami Exp $ +# $Id: Makefile,v 1.10 1998/08/07 23:56:17 asami Exp $ # -DISTNAME= GXedit1.07 -PKGNAME= gxedit-1.07 +DISTNAME= GXedit1.12 +PKGNAME= gxedit-1.12 CATEGORIES= editors MASTER_SITES= http://devplanet.fastethernet.net/ -EXTRACT_SUFX= .tar MAINTAINER= dom@myrddin.demon.co.uk -LIB_DEPENDS= gtk\\.1\\.4:${PORTSDIR}/x11-toolkits/gtk +LIB_DEPENDS= gtk11\\.1\\.:${PORTSDIR}/x11-toolkits/gtk11 -EXTRACT_BEFORE_ARGS= -xf USE_X_PREFIX= yes do-install: diff --git a/editors/gxedit/distinfo b/editors/gxedit/distinfo index 89625e6c06d9..d7ccf4bc6cc0 100644 --- a/editors/gxedit/distinfo +++ b/editors/gxedit/distinfo @@ -1 +1 @@ -MD5 (GXedit1.07.tar) = 728113ed83f012fbfcdb70f34631929a +MD5 (GXedit1.12.tar.gz) = f9dcb8beb5e506bd66c39b20042d54a5 diff --git a/editors/gxedit/files/patch-aa b/editors/gxedit/files/patch-aa index da3e5c388082..7b3821043a67 100644 --- a/editors/gxedit/files/patch-aa +++ b/editors/gxedit/files/patch-aa @@ -1,22 +1,11 @@ ---- gxedit.c.orig Mon Jul 13 02:01:18 1998 -+++ gxedit.c Mon Jul 13 02:03:55 1998 -@@ -2097,2 +2097,9 @@ +--- config.h.orig Tue Aug 25 10:46:17 1998 ++++ config.h Tue Aug 25 10:46:34 1998 +@@ -13,7 +13,7 @@ + + #undef BG_ON_START /* go to the background on start */ + +-#undef GTK_1_1 /* if you only have GTK 1.1 */ ++#define GTK_1_1 /* if you only have GTK 1.1 */ + + #undef GTKEDITOR_PATCH /* the GtkEditor patch has been applied */ -+static const char * mail_spool_fmt = -+#ifdef __FreeBSD__ -+ "/var/mail/%s"; -+#else -+ "/var/spool/mail/%s"; -+#endif -+ - int CB_open_mail_ok(GtkWidget *gtklist, gpointer func_data) -@@ -2103,3 +2110,3 @@ - modified = 0; -- sprintf(line, "/var/spool/mail/%s", login); -+ sprintf(line, mail_spool_fmt, login); - fd = fopen(line, "r"); -@@ -2162,3 +2169,3 @@ - } -- sprintf(line, "/var/spool/mail/%s", login); -+ sprintf(line, mail_spool_fmt, login); - fd = fopen(line, "r"); diff --git a/editors/gxedit/files/patch-ab b/editors/gxedit/files/patch-ab index e57d703724da..f5b6ad654cbe 100644 --- a/editors/gxedit/files/patch-ab +++ b/editors/gxedit/files/patch-ab @@ -1,7 +1,18 @@ ---- Makefile.orig Mon Jul 13 02:13:34 1998 -+++ Makefile Mon Jul 13 02:14:24 1998 -@@ -3 +3 @@ --CFLAGS = `gtk-config --cflags` -O -+CFLAGS += `gtk-config --cflags` -@@ -7 +6,0 @@ +--- Makefile.orig Sat Aug 22 05:50:16 1998 ++++ Makefile Tue Aug 25 10:47:56 1998 +@@ -1,13 +1,12 @@ + BIN_DIR = + INSTALL_DIR = /usr/X11R6/bin/ +-CFLAGS = `gtk-config --cflags` -I. -O -Wall ++CFLAGS += `gtk11-config --cflags` + GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.2 + GNOME_CFLAGS = -DUSE_GNOME +-LIBS = `gtk-config --libs` ++LIBS = `gtk11-config --libs` + GNOME_LIBS = -lgnomesupport -lgnome -lgnomeui + OBJS = bindings.o gxedit.o net.o + GTKEDITOR_OBJS = ../gtkeditor-0.0.2/gtkeditor.o ../gtkeditor-0.0.2/regex.o -CC = gcc + + all: + $(CC) -o .chk_config chk_config.c |