pkgsrc/audio/spiralsynth/patches/patch-aa
joerg 618d961c3a Fallback to O_FSYNC on DragonFly, if O_SYNC doesn't exist.
Use PTHREAD_* instead of -lpthread for linkage.
2006-01-05 15:33:00 +00:00

22 lines
655 B
Text

$NetBSD: patch-aa,v 1.6 2006/01/05 15:33:00 joerg Exp $
--- Makefile.in.orig Thu Jun 13 14:56:01 2002
+++ Makefile.in
@@ -9,12 +9,12 @@
CC = gcc
CXX = g++
-CFLAGS = -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused -g
-CXXFLAGS= -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused -g
-INCPATH = -I/usr/X11R6/include
-LINK = g++
+CFLAGS+= -pipe -Wall -DNO_DEBUG -Wno-unused -g
+CXXFLAGS+= -pipe -Wall -DNO_DEBUG -Wno-unused -g
+INCPATH =
+LINK = g++ ${LDFLAGS}
LFLAGS =
-LIBS = -L/usr/X11R6/lib -lfltk -lGL -lXext -lX11 -lm -lpthread
+LIBS = -lfltk -lGL -lXext -lX11 -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} ${LIBOSSAUDIO}
MOC = moc
UIC =