aboutsummaryrefslogtreecommitdiffstats
path: root/cad/netgen
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /cad/netgen
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'cad/netgen')
-rw-r--r--cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD4
-rw-r--r--cad/netgen/files/patch-togl::Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD b/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD
index 5632330da7a2..a42eb4c8fd77 100644
--- a/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD
+++ b/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD
@@ -6,13 +6,13 @@
CFLAGS2 =
-CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(X11BASE)/include -DLINUX -DOPENGL
-CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step `echo $(TCL_INCLUDE_SPEC)` `echo -I$(TK_PREFIX)`/include/tk`echo $(TK_VERSION)`
-+CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(X11BASE)/include -DFREEBSD -DOPENGL -DNGSOLVE \
++CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(LOCALBASE)/include -DFREEBSD -DOPENGL -DNGSOLVE \
+ -ftemplate-depth-99 -finline-limit=20000 \
+ -funroll-loops
+
+CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step -I$(TCL_INCLUDEDIR) -I$(TK_INCLUDEDIR)
#
- LINKFLAGS2 = -L$(LOCALBASE)/lib -L$(X11BASE)/lib
+ LINKFLAGS2 = -L$(LOCALBASE)/lib
SYSLIB2 = -lstdc++
+
diff --git a/cad/netgen/files/patch-togl::Makefile b/cad/netgen/files/patch-togl::Makefile
index 6a7bf9b01e30..c714582115f5 100644
--- a/cad/netgen/files/patch-togl::Makefile
+++ b/cad/netgen/files/patch-togl::Makefile
@@ -29,7 +29,7 @@
# Where to find tcl.h, tk.h, OpenGL/Mesa headers, etc:
-INCLUDES = -I/usr/local/include -I/usr/include/tcl -I/usr/freeware/include
-+INCLUDES = -I$(X11BASE)/include $(CPLUSPLUSFLAGS3)
++INCLUDES = -I$(LOCALBASE)/include $(CPLUSPLUSFLAGS3)
# Where to find libtcl.a, libtk.a, OpenGL/Mesa libraries:
-LIBDIRS = -L/usr/local/lib