summaryrefslogtreecommitdiff
path: root/audio/gqmpeg/patches/patch-aa
blob: 34116c38a5a8e8c02147e5efb529883fb506037a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.2 1999/05/15 03:49:14 hubertf Exp $

--- Makefile.BAK	Sat May 15 05:28:13 1999
+++ Makefile	Sat May 15 05:28:41 1999
@@ -1,11 +1,10 @@
 
-PREFIX=/usr/local
 
 GTK_INCLUDE = `gtk-config --cflags`
 GTK_LIB = `gtk-config --libs`
 IMLIB_INCLUDE = `imlib-config --cflags-gdk`
 IMLIB_LIB = `imlib-config --libs-gdk`
-CFLAGS = $(GTK_INCLUDE) $(IMLIB_INCLUDE)
+CFLAGS += $(GTK_INCLUDE) $(IMLIB_INCLUDE)
 LDFLAGS = $(GTK_LIB) $(IMLIB_LIB)
 CC = gcc -Wall $(CFLAGS)
 
@@ -81,7 +80,7 @@
 		default_skin/volume_sl.xpm
 
 gqmpeg: $(OBJS)
-	$(CC) $(OBJS) -o gqmpeg $(LDFLAGS)
+	$(CC) $(OBJS) -o gqmpeg $(LDFLAGS) -lossaudio
 
 static: $(OBJS)
 	$(CC) $(OBJS) -o gqmpeg.static -static $(LDFLAGS)