mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
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.
This commit is contained in:
parent
af7a1aedf9
commit
97fea23bb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424828
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue