1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/mp3info/files/patch-aa
Kris Kennaway fbc4b77073 Unbreak this port by using ${GTK_VERSION} instead of (non-existent, on
FreeBSD) gtk-version.  While I'm there, make it respect CC and CFLAGS.

Based on:	ports/29258
2001-07-31 01:27:05 +00:00

23 lines
548 B
Plaintext

--- Makefile.orig Mon Jul 16 02:17:27 2001
+++ Makefile Mon Jul 30 18:20:08 2001
@@ -44,8 +44,8 @@
STRIP = strip
LIBS = -lncurses
-CC = gcc
-CFLAGS = -g -O2 -Wall
+CC ?= gcc
+CFLAGS += -g -Wall
all: mp3info gmp3info doc
@@ -55,7 +55,7 @@
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
gmp3info: $(XSRC) $(XOBJ)
- $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `gtk-config --cflags --libs`
+ $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `${GTK_CONFIG} --cflags --libs`
mp3info.txt: mp3info.1
groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt