[140334] trunk/dports/net/httping

ryandesign at macports.org ryandesign at macports.org
Thu Sep 17 06:54:29 PDT 2015


Revision: 140334
          https://trac.macports.org/changeset/140334
Author:   ryandesign at macports.org
Date:     2015-09-17 06:54:29 -0700 (Thu, 17 Sep 2015)
Log Message:
-----------
httping: re-enable ncurses functionality by using included configure script (#48892), patched to work on OS X and to remember the values of CC, CFLAGS, LDFLAGS

Modified Paths:
--------------
    trunk/dports/net/httping/Portfile

Added Paths:
-----------
    trunk/dports/net/httping/files/
    trunk/dports/net/httping/files/patch-configure.diff

Modified: trunk/dports/net/httping/Portfile
===================================================================
--- trunk/dports/net/httping/Portfile	2015-09-17 13:41:33 UTC (rev 140333)
+++ trunk/dports/net/httping/Portfile	2015-09-17 13:54:29 UTC (rev 140334)
@@ -5,6 +5,7 @@
 
 name                httping
 version             2.4
+revision            1
 categories          net www
 license             {GPL-2 OpenSSLException}
 maintainers         nomaintainer
@@ -28,14 +29,16 @@
 
 extract.suffix      .tgz
 
-use_configure       no
+patchfiles          patch-configure.diff
 
-variant universal {}
+configure.pre_args
+configure.universal_args
+configure.args      --with-fftw3 \
+                    --with-ncurses \
+                    --with-openssl \
+                    --with-tfo
+configure.ldflags-append -lintl
 
-build.env           CFLAGS="${configure.cppflags} [get_canonical_archflags cc]"
-build.args          CC="${configure.cc}" \
-                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld] -lssl -lcrypto -lfftw3 -lncurses -lintl"
-
 destroot.args       PREFIX=${prefix}
 
 livecheck.type      regex

Added: trunk/dports/net/httping/files/patch-configure.diff
===================================================================
--- trunk/dports/net/httping/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/net/httping/files/patch-configure.diff	2015-09-17 13:54:29 UTC (rev 140334)
@@ -0,0 +1,23 @@
+--- configure.orig	2015-02-10 02:17:38.000000000 -0600
++++ configure	2015-09-17 08:15:10.000000000 -0500
+@@ -1,7 +1,8 @@
+ #! /bin/sh
+ 
+-FILE=`mktemp`
+-FILE2=`mktemp`
++TMPDIR="${TMPDIR:-/tmp}"
++FILE="`mktemp "$TMPDIR/httping.XXXXXX"`"
++FILE2="`mktemp "$TMPDIR/httping.XXXXXX"`"
+ 
+ echo \*\*\* HTTPing v`grep VERSION version | cut -d = -f 2` \(`echo $Revision$ | awk '{ print $2; }'`\) configure script \*\*\*
+ echo
+@@ -86,6 +87,9 @@
+ fi
+ 
+ > makefile.inc
++echo "CC=$CC" >> makefile.inc
++echo "CFLAGS=$CFLAGS" >> makefile.inc
++echo "LDFLAGS=$LDFLAGS" >> makefile.inc
+ echo $NC  >> makefile.inc
+ echo $SSL >> makefile.inc
+ echo $TFO >> makefile.inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150917/d174e792/attachment-0001.html>


More information about the macports-changes mailing list