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

42 lines
1.4 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Sat Mar 6 14:05:41 1999
+++ Makefile Sat Mar 6 14:07:05 1999
@@ -3,9 +3,9 @@
INSTALL_DIR = /usr/X11R6/bin/
DOCS = /usr/doc
SHARE = /usr/share
-CFLAGS = `gtk-config --cflags` -I/usr/local/include -I. -O -Wall -DVERSION=\"1.22\"
+CFLAGS += `gtk11d-config --cflags` -I/usr/local/include -I. -DVERSION=\"1.22\"
1999-02-02 17:04:09 +00:00
GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.6
-LIBS = `gtk-config --libs`
1999-01-17 20:06:52 +00:00
+LIBS = `gtk11d-config --libs`
OBJS = gxedit.o net.o utils.o
1999-02-02 17:04:09 +00:00
GTKEDITOR_OBJS = ../gtkeditor-0.0.6/gtkeditor/gtkeditor.o ../gtkeditor-0.0.6/regex/regex.o -L../gtkeditor-0.0.6 -lgtkeditor -lregex -lguile -ldl -ltermcap
1999-01-17 20:06:52 +00:00
CC = gcc
@@ -23,7 +23,6 @@
1998-11-23 18:20:07 +00:00
$(CC) $(CFLAGS) -c utils.c
1998-09-16 23:28:52 +00:00
$(CC) $(CFLAGS) -o $(BIN_DIR)gxedit $(OBJS) $(LIBS)
@(rm -f ./.chk_config)
- (cd xproc-src; make BIN_DIR=../; cd ..)
1999-01-17 20:06:52 +00:00
(cd gtk-shell-src; make BIN_DIR=../; cd ..)
1998-09-16 23:28:52 +00:00
1999-02-02 17:04:09 +00:00
gxe-with-gtkeditor:
@@ -32,7 +31,6 @@
1999-01-17 20:06:52 +00:00
$(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 ..)
1998-09-16 23:28:52 +00:00
1999-02-02 17:04:09 +00:00
say:
--- gtk-shell-src/Makefile.orig Sat Mar 6 14:01:00 1999
+++ gtk-shell-src/Makefile Sat Mar 6 14:02:08 1999
1999-01-17 20:06:52 +00:00
@@ -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
1998-09-16 23:28:52 +00:00
1999-01-17 20:06:52 +00:00
all: