diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-14 10:43:46 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-14 10:43:46 +0000 |
commit | 0a34c84d7e093b6dc89f2e0d05032f799b562b7f (patch) | |
tree | 191affc2afb770010208bf6f68f5ac80d1ee206b | |
parent | Fix plist. (diff) |
o Fix build problem on 4.x branch by upholding C{,XX}FLAGS; thus,
avoiding -mtune gcc flag unknown to gcc 2.9x
o Remove BROKEN
PR: 75040
Prompted by: Serge Gagnon <ser_gagnon@sympatico.ca>
Notes
Notes:
svn path=/head/; revision=123997
-rw-r--r-- | multimedia/goggles/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/goggles/Makefile b/multimedia/goggles/Makefile index ddf15627aa9f..86c123996af9 100644 --- a/multimedia/goggles/Makefile +++ b/multimedia/goggles/Makefile @@ -36,8 +36,6 @@ pre-everything:: #BROKEN= "Does not compile on alpha 5.x" #.endif -BROKEN= "Install fails" - .ifdef(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else @@ -69,6 +67,11 @@ do-configure: -e 's|%%X11BASE%%|${X11BASE}|g' \ -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%PTHREADLIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/build/config.linux +# uphold C{,XX}FLAGS + @${REINPLACE_CMD} -E \ + -e 's|^(export[[:space:]]+CFLAGS=).+$$|\1"${CFLAGS}"|' \ + -e 's|^(export[[:space:]]+CXXFLAGS=).+$$|\1"${CXXFLAGS}"|' \ + ${WRKSRC}/build/config.linux do-build: @cd ${WRKSRC} && ./gb |