diff options
author | Steve Price <steve@FreeBSD.org> | 1998-10-05 05:21:29 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-10-05 05:21:29 +0000 |
commit | dbe440849d3b2ea023ae0fa65311dfff4bf89df1 (patch) | |
tree | fabd3ef9e5a5dac55afab01682ac4faf6654202e /x11 | |
parent | No need to use ${LDCONFIG} if we don't install any shared libs. (diff) |
Fix build for ELF.
Notes
Notes:
svn path=/head/; revision=13668
Diffstat (limited to 'x11')
-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: |