[140062] trunk/dports/devel/liboop
ryandesign at macports.org
ryandesign at macports.org
Tue Sep 8 03:52:00 PDT 2015
Revision: 140062
https://trac.macports.org/changeset/140062
Author: ryandesign at macports.org
Date: 2015-09-08 03:52:00 -0700 (Tue, 08 Sep 2015)
Log Message:
-----------
liboop: fix build with readline 6.3 (#48798); autoreconf to build with the correct -arch flags; ensure we don't opportunistically use adns or tcl
Modified Paths:
--------------
trunk/dports/devel/liboop/Portfile
Added Paths:
-----------
trunk/dports/devel/liboop/files/
trunk/dports/devel/liboop/files/patch-readline-6.3.diff
Modified: trunk/dports/devel/liboop/Portfile
===================================================================
--- trunk/dports/devel/liboop/Portfile 2015-09-08 10:17:29 UTC (rev 140061)
+++ trunk/dports/devel/liboop/Portfile 2015-09-08 10:52:00 UTC (rev 140062)
@@ -5,7 +5,7 @@
name liboop
version 1.0
-revision 0
+revision 1
categories devel
platforms darwin
maintainers nomaintainer
@@ -24,8 +24,15 @@
checksums md5 88fc8decf99fd75d2af40e0a005fa0d3
+depends_build port:pkgconfig
+
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:readline
-configure.args CPPFLAGS="-I${prefix}/include" \
- LDFLAGS="-L${prefix}/lib"
+patchfiles patch-readline-6.3.diff
+
+# Teach this 2003-era project how to build libraries with -arch flags.
+use_autoreconf yes
+
+configure.args --without-adns \
+ --without-tcl
Added: trunk/dports/devel/liboop/files/patch-readline-6.3.diff
===================================================================
--- trunk/dports/devel/liboop/files/patch-readline-6.3.diff (rev 0)
+++ trunk/dports/devel/liboop/files/patch-readline-6.3.diff 2015-09-08 10:52:00 UTC (rev 140062)
@@ -0,0 +1,12 @@
+--- test-oop.c.orig
++++ test-oop.c
+@@ -179,8 +179,7 @@ static void *stop_readline(oop_source *src,int sig,void *data) {
+
+ static void add_readline(oop_source *src) {
+ rl_callback_handler_install(
+- (char *) "> ", /* readline isn't const-correct */
+- (VFunction *) on_readline);
++ "> ", (rl_vcpfunc_t *) on_readline);
+ oop_readline_register(src);
+ src->on_signal(src,SIGQUIT,stop_readline,NULL);
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150908/171027c5/attachment.html>
More information about the macports-changes
mailing list