1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11/rxvt/files/patch-ac

30 lines
755 B
Plaintext
Raw Normal View History

--- src/Makefile.in.orig Tue Apr 2 09:00:00 1996
+++ src/Makefile.in Sat Dec 7 17:29:38 1996
@@ -6,7 +6,7 @@
first_rule: all
dummy:
-CFLAGS = $(XCFLAGS)
+CFLAGS = $(XCFLAGS) -DFREEBSD
CPPFLAGS = $(XCPPFLAGS)
LDFLAGS = $(XLDFLAGS)
DEFS = $(XDEFS)
@@ -34,7 +34,7 @@
all: rxvt
rxvt: VERSION depend $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lX11
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -L$(prefix)/lib -lX11
VERSION:
@echo "#define VERSION \""$(VERSION)"\""
@@ -72,7 +72,7 @@
depend dep: .depend
.depend:
- $(DEPEND) -s "# DO NOT DELETE" -- $(CPPFLAGS) -- $(SRCS)
+ $(DEPEND) -I$(XINC) -s "# DO NOT DELETE" -- $(CPPFLAGS) -- $(SRCS)
@touch .depend
# ------------------------------------------------------------------------