mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sci-chemistry/wxmacmolplt: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
diff -urN wxmacmolplt-7.4.2.orig/configure.ac wxmacmolplt-7.4.2/configure.ac
|
||||
--- wxmacmolplt-7.4.2.orig/configure.ac 2010-12-05 02:48:29.000000000 +0300
|
||||
+++ wxmacmolplt-7.4.2/configure.ac 2010-12-06 19:30:24.000000000 +0300
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -20,7 +20,7 @@
|
||||
;;
|
||||
*)
|
||||
HOST=LINUX
|
||||
- LIBGL="-lGL -lGLU"
|
||||
+ LIBGL=`pkg-config --libs glu glew`
|
||||
+ LIBGL=`${PKG_CONFIG} --libs glu glew`
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(HOST_IS_MSW, [test "x$HOST" == xMSW])
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER=3.0
|
||||
inherit autotools desktop wxwidgets
|
||||
inherit autotools desktop toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Chemical 3D graphics program with GAMESS input builder"
|
||||
HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
|
||||
@@ -32,6 +32,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
setup-wxwidgets unicode
|
||||
econf \
|
||||
--with-glew \
|
||||
|
||||
Reference in New Issue
Block a user