From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 24 14:40:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567731065673 for ; Mon, 24 Mar 2008 14:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4421E8FC14 for ; Mon, 24 Mar 2008 14:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OEe3a1012065 for ; Mon, 24 Mar 2008 14:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OEe3UG012064; Mon, 24 Mar 2008 14:40:03 GMT (envelope-from gnats) Date: Mon, 24 Mar 2008 14:40:03 GMT Message-Id: <200803241440.m2OEe3UG012064@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jason Bacon Cc: Subject: Re: ports/121126: New port: science/caret Computerized Anatomical Reconstruction and Editing Toolkit X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Bacon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 14:40:03 -0000 The following reply was made to PR ports/121126; it has been noted by GNATS. From: Jason Bacon To: bug-followup@freebsd.org, bacon@smithers.neuro.mcw.edu Cc: Subject: Re: ports/121126: New port: science/caret Computerized Anatomical Reconstruction and Editing Toolkit Date: Mon, 24 Mar 2008 09:36:09 -0500 --Boundary-00=_Zx75Ho0kH0mi7Wx Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Patch for flat_fluid attached. Should be ready to commit now. Jason --Boundary-00=_Zx75Ho0kH0mi7Wx Content-Type: text/x-diff; charset="us-ascii"; name="caret.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="caret.patch" diff -ruN caret.orig/Makefile caret/Makefile --- caret.orig/Makefile 2008-03-24 09:30:49.000000000 -0500 +++ caret/Makefile 2008-03-21 10:59:40.000000000 -0500 @@ -71,7 +71,16 @@ .endif .if defined(WITH_FLAT_FLUID) +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas + +PLIST_FILES+= bin/flat_fluid + +post-patch: + ${REINPLACE_CMD} "s|-latlas|-latlas -lgfortran|" ${WRKSRC}/flat_fluid/Makefile.FreeBSD + ${REINPLACE_CMD} "s|brainSet->getCaretHomeDirectory()|\"${PREFIX}\"|" ${WRKSRC}/caret_brain_set/BrainModelRunCaretUtilityProgram.cxx + post-build: + (d=`ls -d /usr/local/lib/gcc*`; ${REINPLACE_CMD} "s|-L /usr/local/lib|-L${LOCALBASE}/lib -L$${d} -rpath $${d}|" ${WRKSRC}/flat_fluid/Makefile.FreeBSD) (cd ${WRKSRC}/flat_fluid; ${MAKE} -f Makefile.FreeBSD) .endif diff -ruN caret.orig/files/patch-caret_brain_set-BrainModelRunCaretUtilityProgram.cxx caret/files/patch-caret_brain_set-BrainModelRunCaretUtilityProgram.cxx --- caret.orig/files/patch-caret_brain_set-BrainModelRunCaretUtilityProgram.cxx 1969-12-31 18:00:00.000000000 -0600 +++ caret/files/patch-caret_brain_set-BrainModelRunCaretUtilityProgram.cxx 2008-03-21 10:58:01.000000000 -0500 @@ -0,0 +1,11 @@ +--- caret_brain_set/BrainModelRunCaretUtilityProgram.cxx.orig 2008-03-21 10:56:47.000000000 -0500 ++++ caret_brain_set/BrainModelRunCaretUtilityProgram.cxx 2008-03-21 10:56:59.000000000 -0500 +@@ -101,7 +101,7 @@ + // On a Macintosh, Qt's QProcess expects the program to be a Mac Application bundle so + // simple command line programs have to be specially handled on the Mac. + // +- if (doingMacCommandLineProgram) { ++ if (1) { + if (utilityProgramArguments.isEmpty() == false) { + pgm.append(" "); + pgm.append(utilityProgramArguments); --Boundary-00=_Zx75Ho0kH0mi7Wx--