public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/libmix/files: libmix-2.05-gentoo2.patch
@ 2011-03-21 12:55 Christoph Mende (angelos)
  0 siblings, 0 replies; only message in thread
From: Christoph Mende (angelos) @ 2011-03-21 12:55 UTC (permalink / raw
  To: gentoo-commits

angelos     11/03/21 12:55:16

  Added:                libmix-2.05-gentoo2.patch
  Log:
  Fixed build when CLIB is set (bug #353719)
  
  (Portage version: 2.2.0_alpha28/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/libmix/files/libmix-2.05-gentoo2.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/files/libmix-2.05-gentoo2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/files/libmix-2.05-gentoo2.patch?rev=1.1&content-type=text/plain

Index: libmix-2.05-gentoo2.patch
===================================================================
diff --git a/Makefile.in b/Makefile.in
index 434b8e5..a384b50 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54,7 +54,7 @@ libmix++.a: mix/net.h $(OBJS_PP_A)
 	${RANLIB} libmix++.a
 
 libtest: libtest.o
-	$(CXX) $(CXXFLAGS) $(CCOPTS) -static -I. -L. libtest++.o -o libtest -lmix++  ${CLIB}
+	$(CXX) $(CXXFLAGS) $(CCOPTS) -static -I. -L. libtest++.o -o libtest -lmix++  $(CLIB)
 
 libtest.o:
 	$(CC) $(CCOPTS) $(CFLAGS) -c libtest.c -o libtest.o
diff --git a/configure.in b/configure.in
index 55fb7dd..e9bd924 100644
--- a/configure.in
+++ b/configure.in
@@ -28,7 +28,7 @@ AC_ARG_WITH([net2],
 AS_IF([test "x$with_net2" = "xyes"], [
   AC_DEFINE(LM_USE_NET2)
   CLIB="-lnet-1.0 -lpcap"
-])
+], [CLIB=""])
 
 AC_ARG_ENABLE([static],
 	AS_HELP_STRING([--enable-static], [Build static libs]))






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-21 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 12:55 [gentoo-commits] gentoo-x86 commit in dev-libs/libmix/files: libmix-2.05-gentoo2.patch Christoph Mende (angelos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox