diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2010-01-06 18:46:09 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2010-01-06 18:46:09 +0000 |
commit | ad1a7eacfcd8d26d512dab0180884d91df692368 (patch) | |
tree | d5a7f233d80686e888727c89e874f545628b78cf /sysutils/pmt | |
parent | 4f66486bc4c2791d553773bc784c0da00651ed53 (diff) | |
download | ports-ad1a7eacfcd8d26d512dab0180884d91df692368.tar.gz ports-ad1a7eacfcd8d26d512dab0180884d91df692368.zip |
Notes
Diffstat (limited to 'sysutils/pmt')
-rw-r--r-- | sysutils/pmt/Makefile | 6 | ||||
-rw-r--r-- | sysutils/pmt/files/extra-patch-config.mak | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/pmt/Makefile b/sysutils/pmt/Makefile index 3f7859a60a72..d419d436c8f5 100644 --- a/sysutils/pmt/Makefile +++ b/sysutils/pmt/Makefile @@ -22,4 +22,8 @@ PLIST_FILES= bin/pmt do-install: @${CP} ${WRKSRC}/pmt ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${OSVERSION} >= 800071 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.mak +.endif +.include <bsd.port.post.mk> diff --git a/sysutils/pmt/files/extra-patch-config.mak b/sysutils/pmt/files/extra-patch-config.mak new file mode 100644 index 000000000000..ebefc54091cb --- /dev/null +++ b/sysutils/pmt/files/extra-patch-config.mak @@ -0,0 +1,10 @@ +--- ./config.mak.orig 2010-01-06 08:21:36.000000000 -0500 ++++ ./config.mak 2010-01-06 08:21:54.000000000 -0500 +@@ -1,6 +1,6 @@ + VERSION = 0.2 + MAKEFLAGS += --print-directory +-PMT_CFLAGS = -std=c99 -Wall -Werror -pedantic \ ++PMT_CFLAGS = -std=c99 -Wall -Werror -pedantic -D__XSI_VISIBLE \ + -D_POSIX_SOURCE -DVERSION='$(VERSION)' \ + -I. -Ilibowfat + |