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

36 lines
1.2 KiB
Plaintext
Raw Normal View History

1999-04-16 10:38:38 +00:00
--- Makefile.orig Fri Mar 19 16:31:49 1999
+++ Makefile Mon Apr 5 17:00:51 1999
@@ -3,12 +3,13 @@
INSTALL_DIR = /usr/X11R6/bin/
DOCS = /usr/doc
SHARE = /usr/share
1999-04-16 10:38:38 +00:00
-CFLAGS = `gtk-config --cflags` -I/usr/local/include -I. -O -Wall -DVERSION=\"1.23\"
+CFLAGS ?= -O2
+CFLAGS += `gtk12-config --cflags` -I/usr/local/include -I. -Wall -DVERSION=\"1.23\"
GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.6 -I../gtkeditor-0.0.6/gtkeditor
-LIBS = `gtk-config --libs`
1999-04-16 10:38:38 +00:00
+LIBS = `gtk12-config --libs`
1999-01-17 20:06:52 +00:00
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-04-16 10:38:38 +00:00
-CC = gcc
+CC ?= gcc
all:
@echo "Use ./setup"
@@ -23,7 +24,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:
1999-04-16 10:38:38 +00:00
@@ -32,7 +32,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: