Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 11:13:28 +0200
From:      "Clement Laforet" <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/54363: [fixes] devel/libvanesse_{socket,adt}: correct Makefile odd behavior.
Message-ID:  <20030711091341.18D0043FB1@mx1.FreeBSD.org>
Resent-Message-ID: <200307110920.h6B9KD0g051159@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54363
>Category:       ports
>Synopsis:       [fixes] devel/libvanesse_{socket,adt}: correct Makefile odd behavior.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 11 02:20:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD chuck.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Jul 5 14:52:13 CEST 2003 clement@chuck.cultdeadsheep.org:/usr/src/sys/i386/compile/CHUCK i386


	
>Description:
	[1] : Reported by daichi (long time ago...)
	if you build the port twice, build fails for vanessa_socket_pipe program.
	It seems that libtool uses old reference to libvanessa_socket (i.e. obsolete
	ldconfig reference), this patch fix the problem.
		* New file : add files/patch-vanessa_socket_pipe-Makefile.in

	[2] : Reported by kris (and bento)
	libvanessa_adt test/ subdir is removed from Makefile due to oddities :
	a) same as [1]
	b) dynamic_array_test is randomly installed (and useless).


>How-To-Repeat:
	play with devel/libvanesse_{socket,adt} ports.
>Fix:

	
[1]

--- libvanessa_socket.diff begins here ---
diff -Nru libvanessa_socket.orig/files/patch-vanessa_socket_pipe-Makefile.in libvanessa_socket/files/patch-vanessa_socket_pipe-Makefile.in
--- libvanessa_socket.orig/files/patch-vanessa_socket_pipe-Makefile.in	Thu Jan  1 01:00:00 1970
+++ libvanessa_socket/files/patch-vanessa_socket_pipe-Makefile.in	Fri Jul 11 10:18:28 2003
@@ -0,0 +1,11 @@
+--- vanessa_socket_pipe/Makefile.in.orig	Fri Jun  6 05:49:20 2003
++++ vanessa_socket_pipe/Makefile.in	Tue Jul  1 17:05:55 2003
+@@ -113,7 +113,7 @@
+ 
+ INCLUDES = -I$(top_srcdir)/libvanessa_socket
+ 
+-vanessa_socket_pipe_LDADD =  -L../libvanessa_socket -L../libvanessa_socket/.libs/ -lvanessa_socket @extra_libs@ @vanessa_logger_libs@ -lpopt
++vanessa_socket_pipe_LDADD =  -L../libvanessa_socket ../libvanessa_socket/.libs/libvanessa_socket.so @extra_libs@ @vanessa_logger_libs@ -lpopt
+ 
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
--- libvanessa_socket.diff ends here ---

[2]

--- libvanessa_adt.diff begins here ---
diff -Nru libvanessa_adt.orig/Makefile libvanessa_adt/Makefile
--- libvanessa_adt.orig/Makefile	Fri Jul 11 10:38:59 2003
+++ libvanessa_adt/Makefile	Fri Jul 11 10:27:38 2003
@@ -20,7 +20,12 @@
 INSTALLS_SHLIB=	YES
 
 USE_LIBTOOL=	YES
+USE_REINPLACE=	YES
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+	@${REINPLACE_CMD} "s,^SUBDIRS = libvanessa_adt test debian,SUBDIRS = libvanessa_adt," \
+				${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff -Nru libvanessa_adt.orig/pkg-plist libvanessa_adt/pkg-plist
--- libvanessa_adt.orig/pkg-plist	Fri Jul 11 10:41:29 2003
+++ libvanessa_adt/pkg-plist	Fri Jul 11 10:18:28 2003
@@ -1,4 +1,3 @@
-bin/dynamic_array_test
 include/vanessa_adt.h
 lib/libvanessa_adt.so.0
 lib/libvanessa_adt.so
--- libvanessa_adt.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030711091341.18D0043FB1>