From owner-svn-ports-head@freebsd.org Fri Oct 28 12:08:09 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2479BC21301; Fri, 28 Oct 2016 12:08:09 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD9F66BA; Fri, 28 Oct 2016 12:08:08 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9SC88pN016285; Fri, 28 Oct 2016 12:08:08 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9SC873v016283; Fri, 28 Oct 2016 12:08:07 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201610281208.u9SC873v016283@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 28 Oct 2016 12:08:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424828 - in head/devel/libfaketime: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 12:08:09 -0000 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