x11/xcb: Fix incorrectly built app-defaults file

The app-defaults file for xcb was not built correctly as a consequence of
the switch to clang and replacement of gcc's cpp to tradcpp which is more
strict about the order of the parameters.  The filename must be last on
the command line otherwise a zero-length file is created.

Fixed by moving the filename parameter to the end of the cpp command

PR:		188203
Submitted by:	callum (omma.gibson.athome)
This commit is contained in:
John Marino 2014-07-27 08:51:37 +00:00
parent 1b3c11ac02
commit e891dad7f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363029
2 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= xcb
PORTVERSION= 2.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://oldhome.schmorp.de/marc/data/ \
http://ftp.lyx.org/pub/pcg/marc/ \

View File

@ -0,0 +1,10 @@
--- Imakefile.orig 2002-11-25 15:28:17.000000000 +0000
+++ Imakefile
@@ -20,6 +20,6 @@ OBJS = xcb.o
ComplexProgramTarget(xcb)
Xcb.ad: Xcb.ad.base
- $(CPP) -P Xcb.ad.base $(GUI) > $@ # -P removes line directives.
+ $(CPP) $(GUI) -P Xcb.ad.base > $@ # -P removes line directives.
InstallAppDefaults(Xcb)