From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 16 21:00:35 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B85516A4D0 for ; Mon, 16 May 2005 21:00:35 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0087643D92 for ; Mon, 16 May 2005 21:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4GL0Smo028726 for ; Mon, 16 May 2005 21:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4GL0Swa028725; Mon, 16 May 2005 21:00:28 GMT (envelope-from gnats) Resent-Date: Mon, 16 May 2005 21:00:28 GMT Resent-Message-Id: <200505162100.j4GL0Swa028725@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Kay Lehmann" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF73416A4D0 for ; Mon, 16 May 2005 20:59:23 +0000 (GMT) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E76E643D5F for ; Mon, 16 May 2005 20:59:22 +0000 (GMT) (envelope-from kay_lehmann@web.de) Received: from bippes.finkenkrug.ev (lehmann.in-dsl.de [217.197.85.240]) j4GKwbiA024036 for ; Mon, 16 May 2005 22:59:10 +0200 Message-Id: <1116277187.0@bippes.finkenkrug.ev> Date: Mon, 16 May 2005 22:59:47 +0200 From: "Kay Lehmann" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Subject: ports/81136: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 21:00:35 -0000 >Number: 81136 >Category: ports >Synopsis: [New Port] science/mbdyn: Add new port mbdyn (MultiBody DYNamics Software) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 16 21:00:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kay Lehmann >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE #10: Wed May 11 20:22:43 CEST 2005 root@bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes >Description: Add the new port for mbdyn, wich is a MultiBody Dynamics simulation software. It comes with lots of libraries etc. There are two knobs which are in development at the moment so I disabled them with an IGNORE message. They need some work and maybe some testing. >How-To-Repeat: >Fix: --- mbdyn-1.2.4.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mbdyn # mbdyn/files # mbdyn/files/patch-mbdyn__mbdyn.h # mbdyn/files/patch-configure # mbdyn/files/patch-mbdyn__base__solver.cc # mbdyn/Makefile # mbdyn/distinfo # mbdyn/pkg-descr # mbdyn/pkg-plist # echo c - mbdyn mkdir -p mbdyn > /dev/null 2>&1 echo c - mbdyn/files mkdir -p mbdyn/files > /dev/null 2>&1 echo x - mbdyn/files/patch-mbdyn__mbdyn.h sed 's/^X//' >mbdyn/files/patch-mbdyn__mbdyn.h << 'END-of-mbdyn/files/patch-mbdyn__mbdyn.h' X--- mbdyn/mbdyn.h.orig Thu Feb 10 11:51:26 2005 X+++ mbdyn/mbdyn.h Thu Feb 10 11:51:34 2005 X@@ -49,6 +49,7 @@ X typedef double Real; X X /* signal types */ X+#if !defined(__FreeBSD__) X #ifdef HAVE_SIGNAL X #ifndef HAVE___SIGHANDLER_T X #ifndef HAVE_SIGHANDLER_T X@@ -58,6 +59,7 @@ X #endif /* HAVE_SIGHANDLER_T */ X #endif /* !HAVE___SIGHANDLER_T */ X #endif /* HAVE_SIGNAL */ X+#endif X X /* sig_atomic_t */ X #ifndef HAVE_SIG_ATOMIC_T END-of-mbdyn/files/patch-mbdyn__mbdyn.h echo x - mbdyn/files/patch-configure sed 's/^X//' >mbdyn/files/patch-configure << 'END-of-mbdyn/files/patch-configure' X--- configure.orig Wed Feb 16 21:50:48 2005 X+++ configure Fri Mar 11 19:39:24 2005 X@@ -25334,7 +25334,7 @@ X echo $ECHO_N "(cached) $ECHO_C" >&6 X else X ac_check_lib_save_LIBS=$LIBS X-LIBS="-ltcl $LIBS" X+LIBS="-ltcl84 $LIBS" X cat >conftest.$ac_ext <<_ACEOF X #line $LINENO "configure" X /* confdefs.h. */ X@@ -29925,7 +29925,7 @@ X rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext X if test $have_mpi = no ; then X if test "$ol_with_mpi" = "pmpi" ; then X- try_mpi_LIBS="-lpmpich++ -lmpich -lpmpich -lnsl" X+ try_mpi_LIBS="-lpmpich++ -lmpich -lpmpich" X else X try_mpi_LIBS="-lmpich++ -lmpich -lnsl" X fi END-of-mbdyn/files/patch-configure echo x - mbdyn/files/patch-mbdyn__base__solver.cc sed 's/^X//' >mbdyn/files/patch-mbdyn__base__solver.cc << 'END-of-mbdyn/files/patch-mbdyn__base__solver.cc' X--- mbdyn/base/solver.cc.orig Thu Feb 10 14:49:22 2005 X+++ mbdyn/base/solver.cc Sat Feb 12 17:14:57 2005 X@@ -95,10 +95,17 @@ X X #ifdef HAVE_SIGNAL X static volatile sig_atomic_t mbdyn_keep_going = 1; X+#if defined(__FreeBSD__) X+static __sighandler_t *mbdyn_sh_term = SIG_DFL; X+static __sighandler_t *mbdyn_sh_int = SIG_DFL; X+static __sighandler_t *mbdyn_sh_hup = SIG_DFL; X+static __sighandler_t *mbdyn_sh_pipe = SIG_DFL; X+#else X static __sighandler_t mbdyn_sh_term = SIG_DFL; X static __sighandler_t mbdyn_sh_int = SIG_DFL; X static __sighandler_t mbdyn_sh_hup = SIG_DFL; X static __sighandler_t mbdyn_sh_pipe = SIG_DFL; X+#endif X X static void X really_exit_handler(int signum) END-of-mbdyn/files/patch-mbdyn__base__solver.cc echo x - mbdyn/Makefile sed 's/^X//' >mbdyn/Makefile << 'END-of-mbdyn/Makefile' X# New ports collection makefile for: mbdyn X# Date created: 2005-01-30 X# Whom: Kay Lehmann X# X# $FreeBSD$ X# X XPORTNAME= mbdyn XPORTVERSION= 1.2.4 XCATEGORIES= science XMASTER_SITES= http://mbdyn.aero.polimi.it/~masarati/Download/mbdyn/ X XMAINTAINER= kay_lehmann@web.de XCOMMENT= A MultiBody Dynamics analysis system X XBUILD_DEPENDS= ${LOCALBASE}/lib/libumfpack.a:${PORTSDIR}/math/umfpack X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_INC_LIBTOOL_VER= 13 XCONFIGURE_ARGS+= --program-prefix='' --with-umfpack=yes XCPPFLAGS+= -I${LOCALBASE}/include/UMFPACK ${PTHREAD_CFLAGS} XLDFLAGS+= -lm -L${LOCALBASE}/lib ${PTHREAD_LIBS} X XOPTIONS= MPI "Enable mpich-support" off \ X METIS "Enable metis-support" off \ X GINAC "Enable GiNaC-support (not implemented yet)" off \ X TCL "Enable tcl-support (not implemented yet)" off X X.if defined(WITH_MPI) XBUILD_DEPENDS+= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich XCONFIGURE_ARGS+= --with-mpi=pmpi XCPPFLAGS+= -I${LOCALBASE}/mpich/include -I${LOCALBASE}/mpich/include/mpi2c++ XLDFLAGS+= -L${LOCALBASE}/mpich/lib X.else XCONFIGURE_ARGS+= --with-mpi=no X.endif X X.if defined(WITH_METIS) XBUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis XCONFIGURE_ARGS+= --with-metis=yes XCPPFLAGS+= -I${LOCALBASE}/include/metis X.else XCONFIGURE_ARGS+= --with-metis=no X.endif X X.if defined(WITH_GINAC) XIGNORE= "You enabled GiNaC-support, which isn't implemented yet" X#BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis XCONFIGURE_ARGS+= --with-ginac=yes XCPPFLAGS+= -I${LOCALBASE}/include/metis X.else XCONFIGURE_ARGS+= --with-ginac=no X.endif X X.if defined(WITH_TCL) XIGNORE= "You enabled Tcl-support, which isn't implemented yet" XLIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84 XCONFIGURE_ARGS+= --with-tcl=yes XCPPFLAGS+= -I${LOCALBASE}/include/tcl8.4 X.else XCONFIGURE_ARGS+= --with-tcl=no X.endif X XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \ X LDFLAGS="${LDFLAGS}" X XMAN1= mbdyn.1 X X.include X X.include END-of-mbdyn/Makefile echo x - mbdyn/distinfo sed 's/^X//' >mbdyn/distinfo << 'END-of-mbdyn/distinfo' XMD5 (mbdyn-1.2.4.tar.gz) = 9b722c0fa62b0701ab5cb7c54dee0b53 XSIZE (mbdyn-1.2.4.tar.gz) = 1439038 END-of-mbdyn/distinfo echo x - mbdyn/pkg-descr sed 's/^X//' >mbdyn/pkg-descr << 'END-of-mbdyn/pkg-descr' X* What MBDyn is X o a command-line, direct initial-value problem solver X with a large, flexible multifield element library X o a research tool X o a community developed, research driven open-source software X* What MBDyn is not X o a complete out-of-the-box ``bells and whistles'' GUI for solid modeling X o a commercial tool X o a completely supported software X XWWW: http://www.mbdyn.org END-of-mbdyn/pkg-descr echo x - mbdyn/pkg-plist sed 's/^X//' >mbdyn/pkg-plist << 'END-of-mbdyn/pkg-plist' Xbin/mbdyn Xbin/autopilot Xbin/c81merge Xbin/c81test Xbin/cl Xbin/crypt Xbin/dae-intg Xbin/deriv Xbin/env Xbin/eu2rot Xbin/femgen Xbin/intg Xbin/logproc Xbin/mbplot Xbin/posrel Xbin/rot2eu Xbin/rot2eup Xbin/rot2phi Xbin/rotrel Xbin/sockdrive Xbin/socket2stream Xbin/stream2socket Xbin/vec2rot Xlib/libmbutil.la Xlib/libmbutil.a Xlib/libmbmath.la Xlib/libmbmath.a Xlib/liby12.la Xlib/liby12.a Xlib/libcolamd.la Xlib/libcolamd.a Xlib/libnaive.la Xlib/libnaive.a Xlib/libmbwrap.la Xlib/libmbwrap.a END-of-mbdyn/pkg-plist exit --- mbdyn-1.2.4.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: