From d6d5bb2756de05c73893926be26eebb473204fe0 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 21 Sep 1998 12:48:12 +0000 Subject: [PATCH] Fix build in a.out world. Noticed by: Asami-san --- x11-clocks/eyeclock/files/patch-aa | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/x11-clocks/eyeclock/files/patch-aa b/x11-clocks/eyeclock/files/patch-aa index a5b96f7c618b..132e959897e0 100644 --- a/x11-clocks/eyeclock/files/patch-aa +++ b/x11-clocks/eyeclock/files/patch-aa @@ -1,8 +1,10 @@ --- Makefile.orig Thu Sep 17 01:42:06 1998 -+++ Makefile Sun Sep 20 20:12:26 1998 -@@ -1,20 +1,23 @@ ++++ Makefile Mon Sep 21 07:45:06 1998 +@@ -1,20 +1,25 @@ +LIBS= -L${X11BASE}/lib -lm -lX11 -lXt -lXmu -lXaw -lXpm ++.if ${PORTOBJFORMAT} == "elf" +LDFLAGS=-Wl,-rpath,${X11BASE}/lib ++.endif +CFLAGS+=-I${X11BASE}/include + eyeclock : eyegraph.o eyeinit.o eyemain.o eyequit.o eyestr.o eyetime.o @@ -32,7 +34,7 @@ clean : rm *.o eyeclock backup : -@@ -36,19 +39,19 @@ +@@ -36,19 +41,19 @@ cp sample2 sample2.bak cp sample2.xpm sample2.xpm.bak install :