diff options
author | kris <kris@FreeBSD.org> | 2001-07-31 09:27:05 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-07-31 09:27:05 +0800 |
commit | b3c76eb3f75c7523a9650576dda61c203fa13346 (patch) | |
tree | ced4a13d0b502c5f4ebc05ebf3276da095e36248 | |
parent | 3a028880213aa8f0750473a9521222d51158602f (diff) | |
download | freebsd-ports-gnome-b3c76eb3f75c7523a9650576dda61c203fa13346.tar.gz freebsd-ports-gnome-b3c76eb3f75c7523a9650576dda61c203fa13346.tar.zst freebsd-ports-gnome-b3c76eb3f75c7523a9650576dda61c203fa13346.zip |
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
-rw-r--r-- | audio/mp3info/files/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/mp3info/files/patch-aa b/audio/mp3info/files/patch-aa new file mode 100644 index 000000000000..8187f6645fe6 --- /dev/null +++ b/audio/mp3info/files/patch-aa @@ -0,0 +1,22 @@ +--- 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 |