summaryrefslogtreecommitdiff
path: root/audio/gqmpeg/patches/patch-aa
blob: a0e75d2fa49c4f24db3109cc1ec9c3fa916ea0ae (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.1.1.1 1999/05/13 00:01:58 hubertf Exp $

--- Makefile.orig	Thu May  6 20:01:06 1999
+++ Makefile	Thu May  6 20:24:58 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) -Dnetbsd
 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)