diff options
-rw-r--r-- | x11/eterm/files/patch-ac | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/x11/eterm/files/patch-ac b/x11/eterm/files/patch-ac index 5652f3284813..f2f1aa3a6461 100644 --- a/x11/eterm/files/patch-ac +++ b/x11/eterm/files/patch-ac @@ -1,6 +1,17 @@ ---- src/Makefile.in.orig Sun Feb 22 23:52:06 1998 -+++ src/Makefile.in Sun Feb 22 23:52:27 1998 -@@ -32,10 +32,10 @@ +--- src/Makefile.in.orig Wed Jan 28 14:36:42 1998 ++++ src/Makefile.in Sun Oct 4 15:55:01 1998 +@@ -19,6 +19,10 @@ + main.h menubar.h misc.h rxvtgrx.h screen.h scrollbar.h options.h \ + system.h + ++ifeq ($(PORTOBJFORMAT),elf) ++LDFLAGS+=-Wl,-rpath,$(X11BASE)/lib ++endif ++ + # + # Distribution variables + # +@@ -32,10 +36,10 @@ all: Eterm Eterm: VERSION.h feature.h $(OBJS) ../libmej/libmej.a @@ -9,7 +20,7 @@ FreeBSD: VERSION.h $(OBJS) ../libmej/libmej.a - $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lutil $(XLIB) -lmej -lIm -lXext -lpng -ljpeg -lz -lm -+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lutil $(XLIB) -lmej -lImlib -lXext -lpng -ljpeg -lz -lutil -lm ++ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lutil $(XLIB) -lmej -lImlib -ltiff34 -lgif -lXext -lpng -ljpeg -lz -lutil -lm mv FreeBSD Eterm VERSION.h: |