[112093] trunk/dports/sysutils/libfaketime
ryandesign at macports.org
ryandesign at macports.org
Fri Oct 11 12:57:14 PDT 2013
Revision: 112093
https://trac.macports.org/changeset/112093
Author: ryandesign at macports.org
Date: 2013-10-11 12:57:13 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
libfaketime: enable tests
Modified Paths:
--------------
trunk/dports/sysutils/libfaketime/Portfile
Added Paths:
-----------
trunk/dports/sysutils/libfaketime/files/patch-test-Makefile.OSX.diff
Modified: trunk/dports/sysutils/libfaketime/Portfile
===================================================================
--- trunk/dports/sysutils/libfaketime/Portfile 2013-10-11 19:33:26 UTC (rev 112092)
+++ trunk/dports/sysutils/libfaketime/Portfile 2013-10-11 19:57:13 UTC (rev 112093)
@@ -23,6 +23,8 @@
system-wide. The faketime wrapper can be used from command line. \
Check the documentation on how to integrate into installed applications.
+patchfiles patch-test-Makefile.OSX.diff
+
use_configure no
variant universal {}
@@ -35,5 +37,9 @@
LDFLAGS="[get_canonical_archflags ld]" \
PREFIX=${prefix}
-destroot.args -f Makefile.OSX
-destroot.env PREFIX=${prefix}
+test.run yes
+test.args ${build.args}
+eval test.env ${build.env}
+
+destroot.args ${build.args}
+eval destroot.env ${build.env}
Added: trunk/dports/sysutils/libfaketime/files/patch-test-Makefile.OSX.diff
===================================================================
--- trunk/dports/sysutils/libfaketime/files/patch-test-Makefile.OSX.diff (rev 0)
+++ trunk/dports/sysutils/libfaketime/files/patch-test-Makefile.OSX.diff 2013-10-11 19:57:13 UTC (rev 112093)
@@ -0,0 +1,12 @@
+--- test/Makefile.OSX.orig 2013-10-11 09:42:38.000000000 -0500
++++ test/Makefile.OSX 2013-10-11 14:46:11.000000000 -0500
+@@ -1,7 +1,6 @@
+-CC = gcc
++CC ?= clang
+
+-CFLAGS = -std=gnu99 -Wall -DFAKE_STAT
+-LDFLAGS =
++CFLAGS += -std=gnu99 -Wall -DFAKE_STAT
+
+ SRC = timetest.c
+ OBJ = ${SRC:.c=.o}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131011/20cea807/attachment.html>
More information about the macports-changes
mailing list