1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/gxedit/files/patch-ab
1998-11-04 08:56:22 +00:00

37 lines
1.2 KiB
Plaintext

--- Makefile.orig Fri Oct 30 20:02:16 1998
+++ Makefile Sun Nov 1 17:45:10 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
cp ftp.sh $(INSTALL_DIR)ftp.sh
cp ftp-ls.sh $(INSTALL_DIR)ftp-ls.sh