1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/audio/cmus/files/patch-Makefile
Raphael Kubo da Costa 95afc30ff5 Update to 2.5.0.
Detailed release notes:
  http://article.gmane.org/gmane.comp.audio.cmus.devel/799

PR:		ports/173562
Submitted by:	"Herbert J. Skuhra" <h.skuhra@gmail.com> (maintainer)
Feature safe:	yes
2012-12-02 21:05:07 +00:00

25 lines
666 B
Plaintext

--- Makefile.orig 2012-11-11 17:40:55.000000000 +0100
+++ Makefile 2012-11-11 17:42:25.000000000 +0100
@@ -105,7 +105,7 @@
$(wavpack-objs): CFLAGS += $(WAVPACK_CFLAGS)
$(mp4-objs): CFLAGS += $(MP4_CFLAGS)
$(aac-objs): CFLAGS += $(AAC_CFLAGS)
-$(ffmpeg-objs): CFLAGS += $(FFMPEG_CFLAGS)
+$(ffmpeg-objs): CFLAGS := $(FFMPEG_CFLAGS) $(CFLAGS)
$(cue-objs): CFLAGS += $(CUE_CFLAGS)
cdio.so: $(cdio-objs) $(libcmus-y)
@@ -216,10 +216,10 @@
$(call cmd,ttman)
Doc/ttman.o: Doc/ttman.c
- $(call cmd,hostcc,)
+ $(call cmd,cc,)
Doc/ttman: Doc/ttman.o
- $(call cmd,hostld,)
+ $(call cmd,ld,)
quiet_cmd_ttman = MAN $@
cmd_ttman = Doc/ttman $< $@