# Work around a qmake bug where, in some cases, it will add an
# extraneous '-arch' flag. In other ports (and in previous versions of
# this one), this was handled with reinplace in the post-configure
# step. Unfortunately, Makefile.qmake doesn't exist at post-configure
# so this patch modifies the Makefile rule which creates
# Makefile.qmake to remove the '-arch' flag.
old
|
new
|
|
68 | 68 | QMAKE_CPPFLAGS+='$(CPPFLAGS) $(qmake_allflags)' \ |
69 | 69 | LIBS+='$(QMAKELIBS)' \ |
70 | 70 | VPATH='$(srcdir)' -o - djview.pro |\ |
71 | | $(AWK) -f $(top_srcdir)/config/qmsilent.awk > $@ |
| 71 | $(AWK) -f $(top_srcdir)/config/qmsilent.awk |\ |
| 72 | $(SED) 's/-arch *-/-/g' > $@ |
72 | 73 | |
73 | 74 | # cleaning |
74 | 75 | |