diff options
author | grant <grant@pkgsrc.org> | 2005-07-29 04:40:47 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-07-29 04:40:47 +0000 |
commit | d438d691b8b02b3b0edf2cf5d3807a47e1e02e59 (patch) | |
tree | 3fe83546ccf534eb3d28722082238ef7e8ff7110 /chat/bsflite | |
parent | e23f312367d954f92ebf774c50109c83b1a36f25 (diff) | |
download | pkgsrc-d438d691b8b02b3b0edf2cf5d3807a47e1e02e59.tar.gz |
honour LDFLAGS and LIBS.
Diffstat (limited to 'chat/bsflite')
-rw-r--r-- | chat/bsflite/Makefile | 5 | ||||
-rw-r--r-- | chat/bsflite/distinfo | 4 | ||||
-rw-r--r-- | chat/bsflite/patches/patch-aa | 35 | ||||
-rw-r--r-- | chat/bsflite/patches/patch-ab | 13 |
4 files changed, 55 insertions, 2 deletions
diff --git a/chat/bsflite/Makefile b/chat/bsflite/Makefile index 387f0f7351b..1bb5205b175 100644 --- a/chat/bsflite/Makefile +++ b/chat/bsflite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/04/16 16:44:53 recht Exp $ +# $NetBSD: Makefile,v 1.4 2005/07/29 04:50:39 grant Exp $ DISTNAME= bsflite-0.80 CATEGORIES= chat @@ -18,4 +18,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/config-example \ ${PREFIX}/share/examples/bsflite +LIBS.SunOS+= -lnsl -lsocket +MAKE_ENV+= LIBS=${LIBS:Q} + .include "../../mk/bsd.pkg.mk" diff --git a/chat/bsflite/distinfo b/chat/bsflite/distinfo index 53765ee6e2a..7fc0a60b57a 100644 --- a/chat/bsflite/distinfo +++ b/chat/bsflite/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/04/16 16:44:53 recht Exp $ +$NetBSD: distinfo,v 1.4 2005/07/29 04:50:39 grant Exp $ SHA1 (bsflite-0.80.tar.gz) = 228b02851dedc44a4ee6dbc2fd5dca6ff059c4e3 RMD160 (bsflite-0.80.tar.gz) = cec3b13fcf4afc37f4ee0a382d63f024b1f31861 Size (bsflite-0.80.tar.gz) = 50529 bytes +SHA1 (patch-aa) = e4afa22dab3b8538f490670c9e1474dba5eca079 +SHA1 (patch-ab) = 03dfe600654f9df4342fc7768665f5f9308e72d3 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) diff --git a/chat/bsflite/patches/patch-ab b/chat/bsflite/patches/patch-ab new file mode 100644 index 00000000000..22428252c76 --- /dev/null +++ b/chat/bsflite/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2005/07/29 04:50:39 grant Exp $ + +--- imcomm/Makefile.orig 2005-04-14 02:22:49.000000000 +1000 ++++ imcomm/Makefile +@@ -8,7 +8,7 @@ RANLIB=ranlib + LIB=libimcomm.a + #CC=i386-pc-msdosdjgpp-gcc + #CC=mingw32-gcc +-CC=gcc ++#CC=gcc + CFLAGS=-O + RM=rm -f + #CFLAGS+=-I/usr/local/djgpp/watt/inc |