mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
A few years ago, _XSI_VISIBLE was defined to re-expose gettimeofday on FreeBSD. Recent changes to DragonFly's signal.h headers resulted in the failure of the building of pmt. By defining _XOPEN_SOURCE=500 instead, pmt on both platforms.
10 lines
308 B
Makefile
10 lines
308 B
Makefile
--- config.mak.orig 2005-06-14 19:50:57 UTC
|
|
+++ config.mak
|
|
@@ -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_XOPEN_SOURCE=500 \
|
|
-D_POSIX_SOURCE -DVERSION='$(VERSION)' \
|
|
-I. -Ilibowfat
|
|
|