1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/editors/gxedit/files/patch-ab
1999-01-17 20:06:52 +00:00

41 lines
1.5 KiB
Plaintext

--- Makefile.orig Mon Jan 18 02:19:50 1999
+++ Makefile Mon Jan 18 02:20:38 1999
@@ -1,8 +1,8 @@
BIN_DIR =
INSTALL_DIR = /usr/X11R6/bin/
-CFLAGS = `gtk-config --cflags` -I/usr/local/include -I. -O -Wall -DVERSION=\"1.19\"
+CFLAGS += `gtk11d-config --cflags` -I/usr/local/include -I. -DVERSION=\"1.19\"
GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.4
-LIBS = `gtk-config --libs`
+LIBS = `gtk11d-config --libs`
OBJS = gxedit.o net.o utils.o
GTKEDITOR_OBJS = ../gtkeditor-0.0.4/gtkeditor/gtkeditor.o ../gtkeditor-0.0.4/regex/regex.o -L../gtkeditor-0.0.4 -lgtkeditor -lregex
CC = gcc
@@ -20,7 +20,6 @@
$(CC) $(CFLAGS) -c utils.c
$(CC) $(CFLAGS) -o $(BIN_DIR)gxedit $(OBJS) $(LIBS)
@(rm -f ./.chk_config)
- (cd xproc-src; make BIN_DIR=../; cd ..)
(cd gtk-shell-src; make BIN_DIR=../; cd ..)
@echo "You should delete your ~/.gxedit file to allow GXedit to re-create it if you're upgrading GXedit."
@@ -30,7 +29,6 @@
$(CC) $(CFLAGS) $(GTKEDITOR_CFLAGS) -c utils.c
$(CC) $(CFLAGS) $(GTKEDITOR_CFLAGS) -o $(BIN_DIR)gxedit $(OBJS) $(GTKEDITOR_OBJS) $(LIBS)
@(rm -f ./.chk_config)
- (cd xproc-src; make BIN_DIR=../; cd ..)
(cd gtk-shell-src; make BIN_DIR=../; cd ..)
@echo "You should delete your ~/.gxedit file to allow GXedit to re-create it if you're upgrading GXedit."
--- gtk-shell-src/Makefile.orig Wed Nov 25 07:10:44 1998
+++ gtk-shell-src/Makefile Mon Jan 18 02:25:08 1999
@@ -1,6 +1,6 @@
BIN_DIR =
-CFLAGS = `gtk-config --cflags` -O -I. -Wall
-LIBS = `gtk-config --libs`
+CFLAGS += `gtk11d-config --cflags` -I.
+LIBS = `gtk11d-config --libs`
CC = gcc
all: