freebsd-ports/audio/mq3/files/patch-platforms_freebsd
Trevor Johnson 2f87d8118a new port of mq3 version 8, a Qt-based .ogg/.mp3 player
PR:		24396
Submitted by:	Erich Zigler <erich@tacni.net>
2001-03-04 15:24:34 +00:00

32 lines
768 B
Plaintext

--- platforms/freebsd.orig Tue Jan 16 15:41:29 2001
+++ platforms/freebsd Fri Mar 2 08:19:49 2001
@@ -1,25 +1,23 @@
CC ?= gcc
-CFLAGS = -pipe -O2
CFLAGS_MT = -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE
CXX ?= g++
-CXXFLAGS = -pipe -O2 -Wall -W
CXXFLAGS_MT = -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE
NASM ?= nasm -f elf
INCDIR_X11 = /usr/X11R6/include
LIBDIR_X11 = /usr/X11R6/lib
-INCDIR_QT = $(QTDIR)/include
+INCDIR_QT = $(QTDIR)/include/qt2
LIBDIR_QT = $(QTDIR)/lib
LINK = $(CXX)
LFLAGS ?=
LFLAGS_MT = -pthread
-LIBS_QT_MT = -lqt-mt
+LIBS_QT_MT = -lqt2-mt -lqt2 -lqthreads -logg -lvorbis
-MOC = $(QTDIR)/bin/moc
+MOC = $(QTDIR)/bin/moc2
UIC = $(QTDIR)/bin/uic
AR = ar cqs