Date: Fri, 28 Oct 2016 12:08:07 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424828 - in head/devel/libfaketime: . files Message-ID: <201610281208.u9SC873v016283@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Fri Oct 28 12:08:07 2016 New Revision: 424828 URL: https://svnweb.freebsd.org/changeset/ports/424828 Log: devel/libfaketime: Enable FEAT(ures), Fix typo's - Fix FEATS variable missing from FLAGS added to CFLAGS in src/Makefile - Explicitly set/add FEATS in MAKE_ENV, with comment about the FAKE_STAT feature (it doesn't build). - Fix typo in man page variable name (MAN[D]IR) causing man page to be installed in PREFIX/share. Also MANDIR is relative, not absolute. - Update PLIST_FILES accordingly. - Bump PORTREVISION. Modified: head/devel/libfaketime/Makefile head/devel/libfaketime/files/patch-src_Makefile Modified: head/devel/libfaketime/Makefile ============================================================================== --- head/devel/libfaketime/Makefile Fri Oct 28 11:42:35 2016 (r424827) +++ head/devel/libfaketime/Makefile Fri Oct 28 12:08:07 2016 (r424828) @@ -4,6 +4,7 @@ PORTNAME= libfaketime DISTVERSIONPREFIX= v DISTVERSION= 0.9.6-20160627 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= koobs@FreeBSD.org @@ -19,15 +20,19 @@ USE_LDCONFIG= yes GH_ACCOUNT= wolfcw GH_TAGNAME= da77808 -MAKE_ENV+= WARNS="-Wall" \ - MANIR="${MANDIRS}" +# FAKE_STAT doesn't currently work on FreeBSD +# Add -DFAKE_STAT to FEATS to see why + +MAKE_ENV+= FEATS="-DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS" \ + WARNS="-Wall" \ + MANDIR="/man" PLIST_FILES= bin/faketime \ lib/faketime/libfaketime.so.1 \ lib/faketime/libfaketimeMT.so.1 \ share/doc/faketime/NEWS \ share/doc/faketime/README \ - share/man/man1/faketime.1.gz + man/man1/faketime.1.gz SHEBANG_FILES= test/testframe.sh \ test/functests/common.inc Modified: head/devel/libfaketime/files/patch-src_Makefile ============================================================================== --- head/devel/libfaketime/files/patch-src_Makefile Fri Oct 28 11:42:35 2016 (r424827) +++ head/devel/libfaketime/files/patch-src_Makefile Fri Oct 28 12:08:07 2016 (r424828) @@ -10,7 +10,7 @@ + +WARNS ?= -Wall -Wextra -Werror +FEATS ?= -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -+FLAGS ?= -std=gnu99 -fPIC $(WARNS) -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"' ++FLAGS ?= -std=gnu99 -fPIC $(WARNS) $(FEATS) -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"' + ifeq ($(PLATFORM),SunOS) -CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610281208.u9SC873v016283>