1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/audio/gqmpeg-devel/files/patch-aa

35 lines
954 B
Plaintext
Raw Normal View History

--- Makefile.orig Sat Jul 3 20:39:08 1999
+++ Makefile Thu Apr 13 03:59:10 2000
@@ -1,8 +1,8 @@
1998-12-09 06:56:52 +00:00
-PREFIX=/usr/local
+PREFIX?=/usr/local
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+#GTK_INCLUDE = `gtk-config --cflags`
+#GTK_LIB = `gtk-config --libs`
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
IMLIB_LIB = `imlib-config --libs-gdk`
@@ -15,7 +15,7 @@
#for IRIX
#LDFLAGS = $(GTK_LIB) $(IMLIB_LIB) -laudio
-CC = gcc -Wall
+CC ?= gcc -Wall
GNOME_PREFIX = `gnome-config --prefix`
@@ -119,8 +119,8 @@
$(CC) $(OBJS) -o gqmpeg.static -static $(LDFLAGS)
install: gqmpeg
- install -c gqmpeg $(PREFIX)/bin/gqmpeg
- install -c plugin/gqmpeg-shoutcast-plugin.sh $(PREFIX)/bin/gqmpeg-shoutcast-plugin.sh
+ ${BSD_INSTALL_PROGRAM} gqmpeg $(PREFIX)/bin/gqmpeg
+ ${BSD_INSTALL_SCRIPT} plugin/gqmpeg-shoutcast-plugin.sh $(PREFIX)/bin/gqmpeg-shoutcast-plugin.sh
gnome-install: gqmpeg
install -c gqmpeg $(PREFIX)/bin/gqmpeg