summaryrefslogtreecommitdiff
path: root/audio/xmms-fmradio/patches/patch-aa
blob: 2bbd9b55152c8eba3f56082dd83414f80a106799 (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
$NetBSD: patch-aa,v 1.1.1.1 2002/01/06 06:50:35 jmcneill Exp $

--- Makefile.orig	Sat Dec 15 10:32:11 2001
+++ Makefile	Sun Jan  6 02:18:37 2002
@@ -1,15 +1,14 @@
 CC?= cc
 OBJ=radio.o radio_configure.o radio_file_info.o
 CFLAGS?= -O2 -Wall
-CFLAGS+= -fpic -DPIC `gtk-config --cflags`
-LDFLAGS+= --shared -L/usr/local/lib -lxmms `gtk-config --libs`
+CFLAGS+= -fpic -DPIC `xmms-config --cflags` `gtk-config --cflags`
+LDFLAGS+= --shared `xmms-config --libs` `gtk-config --libs`
 
-PREFIX?= /usr/local
-XMMS_PLUG_INS_DIR= $(PREFIX)/lib/xmms/Input
+XMMS_PLUG_INS_DIR=	`xmms-config --input-plugin-dir`
 
 # These are for linux, they're defined under BSD
 BINOWN?= root
-BINGRP?= root
+BINGRP?= wheel
 BINMODE?= 555
 DIRMODE?= 755