Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 06:01:40 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46587: Update port: devel/xparam to 1.21
Message-ID:  <20021229060140.78e47b0d.tkato@prontomail.com>

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

>Number:         46587
>Category:       ports
>Synopsis:       Update port: devel/xparam to 1.21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 28 13:10:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.21

New file:
files/patch-Makefile.in
files/patch-examples::calculator::Makefile.in
files/patch-examples::involved::Makefile.in
files/patch-lib::Makefile.in
files/patch-lib::sources::xpv_dynamic_loader.cpp

Remove file:
files/patch-lib_sources_xpv__dynamic__loader.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/xparam/Makefile devel/xparam/Makefile
--- /usr/ports/devel/xparam/Makefile	Fri Nov  8 21:23:56 2002
+++ devel/xparam/Makefile	Sat Dec 21 14:12:14 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	xparam
-PORTVERSION=	1.11
+PORTVERSION=	1.21
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,13 +16,8 @@
 
 BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
 
-USE_REINPLACE=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-dynamic
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/xparam/distinfo devel/xparam/distinfo
--- /usr/ports/devel/xparam/distinfo	Mon Apr  1 03:31:44 2002
+++ devel/xparam/distinfo	Tue Nov 19 23:19:37 2002
@@ -1 +1 @@
-MD5 (xparam-1.11.tar.gz) = 0cdfe0b51160af2565b6279a26569743
+MD5 (xparam-1.21.tar.gz) = 99663ae50810fe4707b7acb453af3db4
diff -urN /usr/ports/devel/xparam/files/patch-Makefile.in devel/xparam/files/patch-Makefile.in
--- /usr/ports/devel/xparam/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
+++ devel/xparam/files/patch-Makefile.in	Sat Dec 28 11:07:02 2002
@@ -0,0 +1,22 @@
+--- Makefile.in.orig	Sat Nov 16 01:29:46 2002
++++ Makefile.in	Sat Dec 21 14:09:19 2002
+@@ -52,17 +52,11 @@
+ prepare_check :
+ 	-$(MAKE) -C tests prepare
+ 
+-ifeq (x$(DESTDIR),x)
+-install_command = (@LDCONFIG@ $(libdir) || true) >/dev/null 2>&1
+-else
+-install_command = echo @LDCONFIG@ not run. You may need to execute \"@LDCONFIG@ $(libdir)\" after installation in $(libdir).
+-endif
+-
+-install : $(LIBNAME) installinfo
++install : $(LIBNAME)
+ 	$(INSTALL) -d $(DESTDIR)$(libdir)
+ 	$(INSTALL) -d $(DESTDIR)$(includedir)
+ 	$(INSTALL) -d $(DESTDIR)$(priv_includedir)
+-	libtool $(INSTALL_PROGRAM) $(LIBNAME) $(DESTDIR)$(libdir)
++	libtool --mode=install $(INSTALL_PROGRAM) $(LIBNAME) $(DESTDIR)$(libdir)
+ 	$(INSTALL_DATA) $(XPARAM_PUBLIC_INCLUDE_FILES) $(DESTDIR)$(includedir)
+ 	$(INSTALL_DATA) $(XPARAM_INCLUDE_FILES) $(DESTDIR)$(priv_includedir)
+ 	$(install_command)
diff -urN /usr/ports/devel/xparam/files/patch-examples::calculator::Makefile.in devel/xparam/files/patch-examples::calculator::Makefile.in
--- /usr/ports/devel/xparam/files/patch-examples::calculator::Makefile.in	Thu Jan  1 09:00:00 1970
+++ devel/xparam/files/patch-examples::calculator::Makefile.in	Sat Dec 21 14:11:03 2002
@@ -0,0 +1,15 @@
+--- examples/calculator/Makefile.in.orig	Sat Oct 26 09:45:35 2002
++++ examples/calculator/Makefile.in	Sat Dec 21 14:10:40 2002
+@@ -17,10 +17,10 @@
+ 	$(CXX) -c -o $@ $<
+ 
+ sobj/mathfunc.so : $(SLOBJECTS)
+-	libtool $(CXX) -shared $^ -lxparam -o $@
++	libtool --mode=link $(CXX) -shared $^ -lxparam -o $@
+ 
+ $(SLOBJECTS) : obj/%.lo : src/%.cpp include/mathfunc.h include/functions.h
+-	libtool $(CXX) -c -o $@ $<
++	libtool --mode=compile $(CXX) -c -o $@ $<
+ 
+ clean :
+ 	-rm -f $(TARGETS) $(OBJECTS) $(SOBJECTS) $(SLOBJECTS)
diff -urN /usr/ports/devel/xparam/files/patch-examples::involved::Makefile.in devel/xparam/files/patch-examples::involved::Makefile.in
--- /usr/ports/devel/xparam/files/patch-examples::involved::Makefile.in	Thu Jan  1 09:00:00 1970
+++ devel/xparam/files/patch-examples::involved::Makefile.in	Sat Dec 21 14:12:01 2002
@@ -0,0 +1,15 @@
+--- examples/involved/Makefile.in.orig	Sat Oct 26 09:45:35 2002
++++ examples/involved/Makefile.in	Sat Dec 21 14:11:44 2002
+@@ -20,10 +20,10 @@
+ 	$(CXX) -c -o $@ $<
+ 
+ sobj/circle.so : $(SLOBJECTS)
+-	libtool $(CXX) -shared $^ -lxparam -o $@
++	libtool --mode=link $(CXX) -shared $^ -lxparam -o $@
+ 
+ $(SLOBJECTS) : obj/%.lo : src/%.cpp include/circle.h include/shapes.h
+-	libtool $(CXX) -c -o $@ $<
++	libtool --mode=compile $(CXX) -c -o $@ $<
+ 
+ clean :
+ 	-rm -f $(TARGETS) $(OBJECTS) $(SOBJECTS) $(SLOBJECTS)
diff -urN /usr/ports/devel/xparam/files/patch-lib::Makefile.in devel/xparam/files/patch-lib::Makefile.in
--- /usr/ports/devel/xparam/files/patch-lib::Makefile.in	Thu Jan  1 09:00:00 1970
+++ devel/xparam/files/patch-lib::Makefile.in	Sat Dec 21 14:07:45 2002
@@ -0,0 +1,19 @@
+--- lib/Makefile.in.orig	Sat Oct 26 09:45:35 2002
++++ lib/Makefile.in	Sat Dec 21 14:06:47 2002
+@@ -36,13 +36,13 @@
+ 	-rm -rf $(XPARAM_OBJ_PATH)/.libs $(ANTLR_OBJ_PATH)/.libs
+ 
+ $(XPARAM_LOBJ_FILES) : $(XPARAM_OBJ_PATH)/%.lo : $(XPARAM_SRC_PATH)/%.cpp Makefile
+-	libtool @CXX@ @CXXFLAGS@ @CPPFLAGS@ -I$(ANTLR_INCLUDE_PATH) -c -o $@ $<
++	libtool --mode=compile @CXX@ @CXXFLAGS@ @CPPFLAGS@ -I$(ANTLR_INCLUDE_PATH) -c -o $@ $<
+ 
+ $(ANTLR_LOBJ_FILES) : $(ANTLR_OBJ_PATH)/%.lo : $(ANTLR_SRC_PATH)/%.cpp
+-	libtool @CXX@ @CXXFLAGS@ @CPPFLAGS@ -I$(ANTLR_INCLUDE_PATH) -c -o $@ $<
++	libtool --mode=compile @CXX@ @CXXFLAGS@ @CPPFLAGS@ -I$(ANTLR_INCLUDE_PATH) -c -o $@ $<
+ 
+ $(LIBRARY) : $(ALL_LOBJ_FILES)
+-	libtool @CXX@ @LDFLAGS@ -o $(LIBRARY) $(ALL_LOBJ_FILES) @LIBS@ -rpath $(libdir) -version-info 1:0:0
++	libtool --mode=link @CXX@ @LDFLAGS@ -o $(LIBRARY) $(ALL_LOBJ_FILES) @LIBS@ -rpath $(libdir) -version-info 1:0:0
+ 
+ .PHONY : all clean
+ 
diff -urN /usr/ports/devel/xparam/files/patch-lib::sources::xpv_dynamic_loader.cpp devel/xparam/files/patch-lib::sources::xpv_dynamic_loader.cpp
--- /usr/ports/devel/xparam/files/patch-lib::sources::xpv_dynamic_loader.cpp	Thu Jan  1 09:00:00 1970
+++ devel/xparam/files/patch-lib::sources::xpv_dynamic_loader.cpp	Sat Dec 28 11:00:05 2002
@@ -0,0 +1,11 @@
+--- lib/sources/xpv_dynamic_loader.cpp.orig	Sun Nov 25 03:43:26 2001
++++ lib/sources/xpv_dynamic_loader.cpp	Sat Dec 28 10:59:43 2002
+@@ -209,7 +209,7 @@
+ 	loader.load(type_name);
+ }
+ 
+-int file_selector(const struct dirent* my_dirent)
++int file_selector(struct dirent* my_dirent)
+ {
+ 	string filename = my_dirent->d_name;
+ 	string wanted_ending = '.' + DynamicLoaderBase::mapfile_extension();
diff -urN /usr/ports/devel/xparam/files/patch-lib_sources_xpv__dynamic__loader.cpp devel/xparam/files/patch-lib_sources_xpv__dynamic__loader.cpp
--- /usr/ports/devel/xparam/files/patch-lib_sources_xpv__dynamic__loader.cpp	Mon Dec 23 07:40:16 2002
+++ devel/xparam/files/patch-lib_sources_xpv__dynamic__loader.cpp	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/devel/xparam/files/patch-lib_sources_xpv__dynamic__loader.cpp,v 1.1 2002/12/22 22:40:16 naddy Exp $
-
---- lib/sources/xpv_dynamic_loader.cpp.orig	Sun Dec 22 17:50:59 2002
-+++ lib/sources/xpv_dynamic_loader.cpp	Sun Dec 22 17:51:18 2002
-@@ -209,7 +209,7 @@
- 	loader.load(type_name);
- }
- 
--int file_selector(const struct dirent* my_dirent)
-+int file_selector(struct dirent* my_dirent)
- {
- 	string filename = my_dirent->d_name;
- 	string wanted_ending = '.' + DynamicLoaderBase::mapfile_extension();
diff -urN /usr/ports/devel/xparam/pkg-plist devel/xparam/pkg-plist
--- /usr/ports/devel/xparam/pkg-plist	Sun Dec 23 20:34:38 2001
+++ devel/xparam/pkg-plist	Wed Nov 20 01:04:15 2002
@@ -1,15 +1,20 @@
 include/xparam/xp_config.h
 include/xparam/xp_error.h
 include/xparam/xp_handle.h
+include/xparam/xp_hvl.h
 include/xparam/xp_loader.h
 include/xparam/xp_param.h
 include/xparam/xp_param_imp.h
 include/xparam/xp_paramset.h
 include/xparam/xp_paramset_manip.h
+include/xparam/xp_parsed_types.h
+include/xparam/xp_parser.h
 include/xparam/xp_saver.h
 include/xparam/xp_singleton.h
 include/xparam/xp_type_compare.h
 include/xparam/xp_type_tag.h
+include/xparam/xp_typed_tuple.h
+include/xparam/xp_typed_value_map.h
 include/xparam/xp_user_namespace.h
 include/xparam/xp_value.h
 include/xparam/xp_value_list.h
@@ -19,6 +24,7 @@
 include/xparam/xp_value_sink_imp.h
 include/xparam/xp_value_source.h
 include/xparam/xp_value_source_imp.h
+include/xparam/xp_value_tuple.h
 include/xparam/xparam.h
 include/xparam/xparam_extend.h
 include/xparam/xpv_arg_def.h
@@ -37,6 +43,9 @@
 include/xparam/xpv_enum_registry.h
 include/xparam/xpv_extend_namespace.h
 include/xparam/xpv_facade_imp.h
+include/xparam/xpv_hvl_creator.h
+include/xparam/xpv_hvl_creator_imp.h
+include/xparam/xpv_hvl_registry.h
 include/xparam/xpv_iconv.h
 include/xparam/xpv_iconv_imp.h
 include/xparam/xpv_output.h
@@ -47,9 +56,16 @@
 include/xparam/xpv_reg_ctor.h
 include/xparam/xpv_reg_ctor_imp.h
 include/xparam/xpv_reg_enum.h
+include/xparam/xpv_reg_hvl.h
 include/xparam/xpv_reg_inheritance.h
+include/xparam/xpv_reg_list.h
 include/xparam/xpv_reg_macros.h
+include/xparam/xpv_reg_map.h
 include/xparam/xpv_reg_output.h
+include/xparam/xpv_reg_pair.h
+include/xparam/xpv_reg_set.h
+include/xparam/xpv_reg_typed_tuple.h
+include/xparam/xpv_reg_typed_value_map.h
 include/xparam/xpv_reg_vector.h
 include/xparam/xpv_regcom.h
 include/xparam/xpv_registry.h
@@ -57,6 +73,9 @@
 include/xparam/xpv_subobject_output.h
 include/xparam/xpv_template_fooler.h
 include/xparam/xpv_type.h
+include/xparam/xpv_typed_tuple_creator.h
+include/xparam/xpv_typed_tuple_creator_imp.h
+include/xparam/xpv_typed_tuple_registry.h
 include/xparam/xpv_untyped_null.h
 include/xparam/xpv_value_imp.h
 include/xparam.h
@@ -64,5 +83,5 @@
 lib/libxparam.a
 lib/libxparam.la
 lib/libxparam.so
-lib/libxparam.so.0
+lib/libxparam.so.1
 @dirrm include/xparam
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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