ports/multimedia/audacious/files/patch-buildsys.mk.in
Guido Falsi 782ee63898 - Update audaciouss ports to 3.10
- Add explicit FILEWRITER option to control the filewriter plugin
  (enabled by default)
- Group output plugins
- Remove some unnecessary patches
- Modernise and cleanup

PR:		231427
Submitted by:	Nathan <ndowens@yahoo.com>
2018-09-18 14:50:27 +00:00

28 lines
835 B
Makefile

--- buildsys.mk.in.orig 2018-08-08 22:36:44 UTC
+++ buildsys.mk.in
@@ -180,7 +180,8 @@ depend: pre-depend ${SRCS}
done; \
if test x"$$regen" = x"1" -a x"$$deps" != x""; then \
${DEPEND_STATUS}; \
- if ${MAKE} $$deps && cat $$deps >.deps; then \
+ if ${MAKE} $$deps && cat $$deps >.deps && sed 's|/[^ ]*/include/audacious/dbus.h||g' \
+ $$deps >.deps; then \
rm -f $$deps; \
${DEPEND_OK}; \
else \
@@ -664,6 +665,15 @@ install: install-extra
${DIR_ENTER}; \
${MAKE} install || exit $$?; \
${DIR_LEAVE}; \
+ done
+
+ for i in ${CONTRIB}; do \
+ ${INSTALL_STATUS}; \
+ if ${MKDIR_P} ${DESTDIR}${datarootdir}/appdata && ${INSTALL} -m 644 $$i ${DESTDIR}${datarootdir}/appdata/$$(basename $$i); then \
+ ${INSTALL_OK}; \
+ else \
+ ${INSTALL_FAILED}; \
+ fi \
done
for i in "" ${SHARED_LIB}; do \