openbsd-ports/audio/last.fm/patches/patch-src_src_pro
dcoppa ed80a78265 Update to last.fm 1.5.4.27091
Still happy with gcc 3.3.5

Tested on sparc64 and i386
2011-03-30 14:00:48 +00:00

36 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_src_pro,v 1.2 2011/03/30 14:00:48 dcoppa Exp $
--- src/src.pro.orig Tue Nov 2 19:13:07 2010
+++ src/src.pro Tue Mar 29 12:32:05 2011
@@ -7,10 +7,6 @@ INCLUDEPATH += lib libFingerprint/recommendation-commo
PRECOMPILED_HEADER = precompiled.h
CONFIG += precompile_header
-unix {
- # precompiled headers breaks icecream builds for some reason :(
- system( test `ps aux | grep iceccd | wc -l` -gt 1 ): CONFIG -= precompile_header
-}
#universal binaries cannot be built from precompiled headers
mac:release:CONFIG -= precompile_header
@@ -27,9 +23,8 @@ unix:!mac{
include( ../definitions.pro.inc )
-# TODO remove
-INCLUDEPATH += $$ROOT_DIR/res/mad
-INCLUDEPATH += $$ROOT_DIR/src/libFingerprint/libs/fftw
+INCLUDEPATH += ${X11BASE}/include
+INCLUDEPATH += ${LOCALBASE}/include
breakpad {
LIBS += -lbreakpad$$EXT
@@ -210,6 +205,8 @@ unix:!mac {
SOURCES += simplewizard_mac.cpp \
winstyleoverrides.cpp
+
+ QMAKE_LIBDIR += ${LOCALBASE}/lib
LIBS += -lmad -lfftw3f