Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2008 18:59:36 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127016: cad/netgen does not build
Message-ID:  <200808312359.m7VNxab5097343@cauchy.math.missouri.edu>
Resent-Message-ID: <200809010000.m81002Yr073548@freefall.freebsd.org>

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

>Number:         127016
>Category:       ports
>Synopsis:       cad/netgen does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 01 00:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cauchy 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 14 15:26:47 CDT 2008 stephen@cauchy:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

cad/netgen does not apply patches cleanly.

	
>How-To-Repeat:

setenv WITHOUT_OCC
cd /usr/ports/cad/netgen
make patch

	
>Fix:

As well as this fix, you might also like to make WITHOUT_OCC the default
(because otherwise it tries to build cad/opencascade, which does not build).

--- /usr/ports/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD	2008-04-19 12:46:54.000000000 -0500
+++ files/patch-libsrc::makefile.mach.FREEBSD	2008-08-31 18:54:21.000000000 -0500
@@ -12,7 +12,7 @@
 +
 +CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step -I$(TCL_INCLUDEDIR) -I$(TK_INCLUDEDIR)
  #
- LINKFLAGS2 =  -L$(LOCALBASE)/lib
+ LINKFLAGS2 =  -L$(LOCALBASE)/lib -L$(X11BASE)/lib
  
  SYSLIB2 = -lstdc++
 +


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



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