diff options
author | gahr <gahr@FreeBSD.org> | 2013-07-24 14:53:48 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-07-24 14:53:48 +0800 |
commit | 38e81a2b55edfd878ae2239547db41f885e425a9 (patch) | |
tree | b6a3af48eb564a9ebc61b4fa795af9cf29d239be /graphics | |
parent | e15d5bf7a433416692b6351095c2e41736419e80 (diff) | |
download | freebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.tar.gz freebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.tar.zst freebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.zip |
- Make graphics/togl's libraries location independent from the Tcl/Tk version
used to build it
- Fix cad/netgen to use this new location
Reported by: bapt
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/togl/Makefile | 10 | ||||
-rw-r--r-- | graphics/togl/pkg-plist | 12 |
2 files changed, 8 insertions, 14 deletions
diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 7851a6234e73..5d9cb11228c4 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -13,21 +13,15 @@ COMMENT= Tk OpenGL widget USE_XORG= x11 xt xmu USE_GL= gl -USE_TCL_BUILD= 84+ -USE_TCL= 84+ -USE_TK_BUILD= 84+ -USE_TK= 84+ +USE_TK= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tk=${TK_LIBDIR} \ --with-tcl=${TCL_LIBDIR} \ --with-tclinclude=${TCL_INCLUDEDIR} -MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ - PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" USE_LDCONFIG= yes -TOGL_INSTDIR= ${PREFIX}/lib/tk${TK_VER}/${DISTNAME} -PLIST_SUB= TOGL_INSTDIR="${TOGL_INSTDIR:S,^${PREFIX}/,,}" +TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} CPPFLAGS+= -I${TK_INCLUDEDIR} LDFLAGS+= -L${TK_LIBDIR} diff --git a/graphics/togl/pkg-plist b/graphics/togl/pkg-plist index 986d7f9aa838..1095ce1f5de3 100644 --- a/graphics/togl/pkg-plist +++ b/graphics/togl/pkg-plist @@ -1,10 +1,10 @@ lib/libtogl.so lib/libtogl.so.1 -lib/tk%%TK_VER%%/Togl-1.7/togl.h -lib/tk%%TK_VER%%/Togl-1.7/togl_ws.h -lib/tk%%TK_VER%%/Togl-1.7/libTogl1.7.so -lib/tk%%TK_VER%%/Togl-1.7/pkgIndex.tcl -lib/tk%%TK_VER%%/Togl-1.7/libtogl.so.1 +lib/Togl-1.7/togl.h +lib/Togl-1.7/togl_ws.h +lib/Togl-1.7/libTogl1.7.so +lib/Togl-1.7/pkgIndex.tcl +lib/Togl-1.7/libtogl.so.1 %%PORTDOCS%%%%DOCSDIR%%/Togl.html %%EXAMPLESDIR%%/Makefile %%EXAMPLESDIR%%/ben.rgb @@ -27,4 +27,4 @@ lib/tk%%TK_VER%%/Togl-1.7/libtogl.so.1 %%EXAMPLESDIR%%/tree2.rgba @dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/tk%%TK_VER%%/Togl-1.7 +@dirrm lib/Togl-1.7 |