Page MenuHomeFreeBSD

D52978.1774995339.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D52978.1774995339.diff

diff --git a/devel/libfaketime/Makefile b/devel/libfaketime/Makefile
--- a/devel/libfaketime/Makefile
+++ b/devel/libfaketime/Makefile
@@ -11,12 +11,14 @@
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= coreutils>=0:sysutils/coreutils
+TEST_DEPENDS= bash:shells/bash
-USES= gmake shebangfix
+USES= gmake perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= wolfcw
USE_GCC= yes
USE_LDCONFIG= yes
+USE_PERL5= test
SHEBANG_FILES= test/functests/common.inc test/testframe.sh
@@ -26,6 +28,7 @@
MAKE_ENV+= FEATS="-DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS" \
WARNS="-Wall"
TEST_TARGET= test
+TESTING_UNSAFE= The functests/test_exclude_mono.sh:get_monotonic_time() test hangs
PLIST_FILES= bin/faketime \
lib/faketime/libfaketime.so.1 \
@@ -34,6 +37,10 @@
share/doc/faketime/README \
share/man/man1/faketime.1.gz
+post-patch:
+ ${REINPLACE_CMD} -e 's|-lcompat|-lcompat -lutil|' \
+ ${WRKSRC}/test/Makefile
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/faketime \
${STAGEDIR}${PREFIX}/lib/faketime/*.so.*

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 31, 10:15 PM (9 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28236130
Default Alt Text
D52978.1774995339.diff (1 KB)

Event Timeline