aboutsummaryrefslogtreecommitdiff
path: root/x11/sessreg
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-04-02 07:28:49 +0000
committerJohn Marino <marino@FreeBSD.org>2015-04-02 07:28:49 +0000
commit99243b1894dc91055f49518f323a67adc1421d9b (patch)
tree674d619e04a94ed2008ea3588cda9fc58ddbbe8b /x11/sessreg
parentf05daac7435f7c3d713e40cb423acff07a6cb874 (diff)
x11/sessreg: Fix build on gcc-5, take II
The previous attempt to fix sessreg on gcc5 by using tradcpp was backed out due to failure to build on FreeBSD 11. This attempt uses gcc's cpp, but with the -P option. Tested on F8,9,10,11 x i386,amd64 tested by: bofh Approved by: blanket
Notes
Notes: svn path=/head/; revision=382986
Diffstat (limited to 'x11/sessreg')
-rw-r--r--x11/sessreg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/sessreg/Makefile b/x11/sessreg/Makefile
index 3b6fb7f571a3..2e61e7f6f68b 100644
--- a/x11/sessreg/Makefile
+++ b/x11/sessreg/Makefile
@@ -9,6 +9,7 @@ COMMENT= Manage utmp/wtmp entries for non-init X clients
XORG_CAT= app
USE_XORG= x11
+CPP+= -P # Required for gcc5+
PLIST_FILES= bin/sessreg man/man1/sessreg.1.gz