[149628] trunk/dports/games/gnubg
dtakahashi at macports.org
dtakahashi at macports.org
Tue Jun 28 03:44:36 PDT 2016
Revision: 149628
https://trac.macports.org/changeset/149628
Author: dtakahashi at macports.org
Date: 2016-06-28 03:44:36 -0700 (Tue, 28 Jun 2016)
Log Message:
-----------
gnubg: fix GLU configuration problem
Modified Paths:
--------------
trunk/dports/games/gnubg/Portfile
Added Paths:
-----------
trunk/dports/games/gnubg/files/GLU-test-configure_ac.diff
trunk/dports/games/gnubg/files/ignore-linkforshared-python_devel_m4.diff
Removed Paths:
-------------
trunk/dports/games/gnubg/files/ignore-linkforshared-python.diff
Modified: trunk/dports/games/gnubg/Portfile
===================================================================
--- trunk/dports/games/gnubg/Portfile 2016-06-28 09:15:56 UTC (rev 149627)
+++ trunk/dports/games/gnubg/Portfile 2016-06-28 10:44:36 UTC (rev 149628)
@@ -24,7 +24,8 @@
distfiles ${name}-release-${version}-sources.tar.gz
-patchfiles ignore-linkforshared-python.diff
+patchfiles ignore-linkforshared-python_devel_m4.diff \
+ GLU-test-configure_ac.diff
checksums ${name}-release-${version}-sources.tar.gz \
rmd160 fc83de42ae54163a90c04f9eb5e0a03a02ddac59 \
@@ -42,6 +43,8 @@
port:python27 \
port:readline
+use_autoreconf yes
+
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--sysconfdir=${prefix}/etc \
Added: trunk/dports/games/gnubg/files/GLU-test-configure_ac.diff
===================================================================
--- trunk/dports/games/gnubg/files/GLU-test-configure_ac.diff (rev 0)
+++ trunk/dports/games/gnubg/files/GLU-test-configure_ac.diff 2016-06-28 10:44:36 UTC (rev 149628)
@@ -0,0 +1,21 @@
+--- configure.ac 2016/06/07 18:35:51 1.65
++++ configure.ac 2016/06/26 20:42:01 1.66
+@@ -17,7 +17,7 @@
+ dnl along with this program; if not, write to the Free Software
+ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-AC_REVISION($Revision: 1.65 $)
++AC_REVISION($Revision: 1.66 $)
+ AC_INIT([GNU Backgammon],m4_esyscmd(echo 1.05.002$VERSION_EXT | tr -d '\n'),[bug-gnubg at gnu.org],[gnubg])
+ AC_CANONICAL_BUILD
+ AC_CANONICAL_HOST
+@@ -144,8 +144,8 @@
+ have_canberra="no"
+ elif test "x$with_gtk" != "xno"; then
+ PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk], have_canberra="yes", AC_MSG_WARN([no libcanberra-gtk support]))
+- PKG_CHECK_MODULES(GLU, [glu], have_glu="yes", AC_MSG_WARN([no glu support]))
+ fi
++ PKG_CHECK_MODULES(GLU, [glu], have_glu="yes", AC_MSG_WARN([no glu support]))
+ fi
+
+ if test "x$with_gtk" != "xno"; then
Deleted: trunk/dports/games/gnubg/files/ignore-linkforshared-python.diff
===================================================================
--- trunk/dports/games/gnubg/files/ignore-linkforshared-python.diff 2016-06-28 09:15:56 UTC (rev 149627)
+++ trunk/dports/games/gnubg/files/ignore-linkforshared-python.diff 2016-06-28 10:44:36 UTC (rev 149628)
@@ -1,19 +0,0 @@
---- configure.org 2016-06-25 19:40:20.000000000 +0200
-+++ configure 2016-06-25 19:46:46.000000000 +0200
-@@ -16277,11 +16277,11 @@
- #
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
- $as_echo_n "checking python extra linking flags... " >&6; }
-- if test -z "$PYTHON_EXTRA_LDFLAGS"; then
-- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
-- conf = distutils.sysconfig.get_config_var; \
-- print (conf('LINKFORSHARED'))"`
-- fi
-+# if test -z "$PYTHON_EXTRA_LDFLAGS"; then
-+# PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
-+# conf = distutils.sysconfig.get_config_var; \
-+# print (conf('LINKFORSHARED'))"`
-+# fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
- $as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; }
-
Added: trunk/dports/games/gnubg/files/ignore-linkforshared-python_devel_m4.diff
===================================================================
--- trunk/dports/games/gnubg/files/ignore-linkforshared-python_devel_m4.diff (rev 0)
+++ trunk/dports/games/gnubg/files/ignore-linkforshared-python_devel_m4.diff 2016-06-28 10:44:36 UTC (rev 149628)
@@ -0,0 +1,19 @@
+--- m4/ax_python_devel.m4.org 2016-06-27 01:06:32.000000000 +0200
++++ m4/ax_python_devel.m4 2016-06-27 01:06:33.000000000 +0200
+@@ -284,11 +284,11 @@
+ # linking flags needed when embedding
+ #
+ AC_MSG_CHECKING(python extra linking flags)
+- if test -z "$PYTHON_EXTRA_LDFLAGS"; then
+- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
+- conf = distutils.sysconfig.get_config_var; \
+- print (conf('LINKFORSHARED'))"`
+- fi
++# if test -z "$PYTHON_EXTRA_LDFLAGS"; then
++# PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
++# conf = distutils.sysconfig.get_config_var; \
++# print (conf('LINKFORSHARED'))"`
++# fi
+ AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
+ AC_SUBST(PYTHON_EXTRA_LDFLAGS)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160628/12cb1262/attachment.html>
More information about the macports-changes
mailing list