aboutsummaryrefslogtreecommitdiffstats
path: root/x11/eterm
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-10-05 13:21:29 +0800
committersteve <steve@FreeBSD.org>1998-10-05 13:21:29 +0800
commitc1e7faec27df8bf4bc5330ea33abd8091cc90c4b (patch)
tree43282357ffd916bf6149f0961b34042946fd4d0f /x11/eterm
parenta01187a1a464ec2454119f19e94f814814eec980 (diff)
downloadfreebsd-ports-gnome-c1e7faec27df8bf4bc5330ea33abd8091cc90c4b.tar.gz
freebsd-ports-gnome-c1e7faec27df8bf4bc5330ea33abd8091cc90c4b.tar.zst
freebsd-ports-gnome-c1e7faec27df8bf4bc5330ea33abd8091cc90c4b.zip
Fix build for ELF.
Diffstat (limited to 'x11/eterm')
-rw-r--r--x11/eterm/files/patch-ac19
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: