summaryrefslogtreecommitdiff
path: root/chat/bsflite/patches/patch-aa
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-29 04:40:47 +0000
committergrant <grant@pkgsrc.org>2005-07-29 04:40:47 +0000
commitd438d691b8b02b3b0edf2cf5d3807a47e1e02e59 (patch)
tree3fe83546ccf534eb3d28722082238ef7e8ff7110 /chat/bsflite/patches/patch-aa
parente23f312367d954f92ebf774c50109c83b1a36f25 (diff)
downloadpkgsrc-d438d691b8b02b3b0edf2cf5d3807a47e1e02e59.tar.gz
honour LDFLAGS and LIBS.
Diffstat (limited to 'chat/bsflite/patches/patch-aa')
-rw-r--r--chat/bsflite/patches/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/chat/bsflite/patches/patch-aa b/chat/bsflite/patches/patch-aa
new file mode 100644
index 00000000000..307ae53e0cc
--- /dev/null
+++ b/chat/bsflite/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1 2005/07/29 04:50:39 grant Exp $
+
+--- Makefile.orig 2005-04-14 02:23:06.000000000 +1000
++++ Makefile
+@@ -2,7 +2,7 @@ EXEC=bsflite
+ #EXEC=bsflite.exe
+ #CC=i386-pc-msdosdjgpp-gcc
+ #CC=mingw32-gcc
+-CC=gcc
++#CC=gcc
+ #
+ # Remove -DTIMESTAMPS to remove timestamps on messages/events
+ #
+@@ -23,10 +23,10 @@ CFLAGS=-O -DTIMESTAMPS
+ #
+ # Add -lsocket -lnsl for Solaris
+ #
+-LIBS=-limcomm
++#LIBS=-limcomm
+ #LIBS+=-lwatt
+ #LIBS+=-lwsock32
+-LDFLAGS=-Limcomm/ -s
++#LDFLAGS=-Limcomm/ -s
+ #LDFLAGS+=-L/usr/local/djgpp/watt/lib
+ OBJECTS=aim.o away.o bsf.o cleaner.o config.o conn.o input.o log.o out.o queue.o util.o
+
+@@ -35,7 +35,7 @@ all:
+ $(MAKE) $(MFLAGS) $(EXEC)
+
+ $(EXEC):$(OBJECTS)
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $(EXEC) $(OBJECTS) $(LIBS)
++ $(CC) $(CFLAGS) -Limcomm $(LDFLAGS) -o $(EXEC) $(OBJECTS) -limcomm $(LIBS)
+
+ clean:
+ rm -f *.o *~ $(EXEC)