1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/gxedit/files/patch-ab
1998-09-16 23:28:52 +00:00

37 lines
1.2 KiB
Plaintext

--- Makefile.orig Sun Aug 30 07:43:50 1998
+++ Makefile Thu Sep 17 07:18:51 1998
@@ -1,13 +1,12 @@
BIN_DIR =
INSTALL_DIR = /usr/X11R6/bin/
-CFLAGS = `gtk-config --cflags` -I/usr/local/include -I. -O -Wall
+CFLAGS += `gtk11-config --cflags` -I/usr/local/include -I. -DX_LOCALE
GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.2-1
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-1/gtkeditor.o ../gtkeditor-0.0.2-1/regex.o
-CC = gcc
all:
@echo "Use ./setup"
@@ -22,7 +21,7 @@
$(CC) $(CFLAGS) -c bindings.c
$(CC) $(CFLAGS) -o $(BIN_DIR)gxedit $(OBJS) $(LIBS)
@(rm -f ./.chk_config)
- (cd xproc-src; make BIN_DIR=../; cd ..)
+# (cd xproc-src; make BIN_DIR=../; cd ..)
@echo "You should delete your ~/.gxedit file to allow GXedit to re-create it if you're upgrading GXedit."
gxe-with-gtkeditor:
@@ -55,7 +54,7 @@
install:
cp $(BIN_DIR)gxedit $(INSTALL_DIR)gxedit
- cp $(BIN_DIR)xproc $(INSTALL_DIR)xproc
+# cp $(BIN_DIR)xproc $(INSTALL_DIR)xproc
distro:
rm -f *.o $(BIN_DIR)gxedit $(BIN_DIR)say $(BIN_DIR)xproc *.log *.enc