From 1ef59acb8dbc37717c22f918f100e8f1da179ce1 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 15 Nov 2013 14:58:59 +0000 Subject: Support STAGEDIR. --- sysutils/lineak-defaultplugin/Makefile | 4 +--- .../lineak-defaultplugin/files/patch-Makefile.in | 21 +++++++++++++++++++++ .../files/patch-defaultplugin.cpp | 10 ++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 sysutils/lineak-defaultplugin/files/patch-Makefile.in create mode 100644 sysutils/lineak-defaultplugin/files/patch-defaultplugin.cpp (limited to 'sysutils/lineak-defaultplugin') diff --git a/sysutils/lineak-defaultplugin/Makefile b/sysutils/lineak-defaultplugin/Makefile index d17676c936d7..f9babc1ed9a2 100644 --- a/sysutils/lineak-defaultplugin/Makefile +++ b/sysutils/lineak-defaultplugin/Makefile @@ -23,17 +23,15 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --program-prefix='' -MAN1= lineak_defaultplugin.1 -MAN_COMPRESSED= yes PLIST_FILES= lib/lineakd/plugins/defaultplugin.a \ lib/lineakd/plugins/defaultplugin.la \ lib/lineakd/plugins/defaultplugin.so \ lib/lineakd/plugins/mediadetectplugin.a \ lib/lineakd/plugins/mediadetectplugin.la \ lib/lineakd/plugins/mediadetectplugin.so \ + man/man1/lineak_defaultplugin.1.gz \ etc/media-detect.conf -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure diff --git a/sysutils/lineak-defaultplugin/files/patch-Makefile.in b/sysutils/lineak-defaultplugin/files/patch-Makefile.in new file mode 100644 index 000000000000..f37d3183c963 --- /dev/null +++ b/sysutils/lineak-defaultplugin/files/patch-Makefile.in @@ -0,0 +1,21 @@ +--- default_plugin/Makefile.in.orig 2006-05-24 23:27:15.000000000 +0800 ++++ default_plugin/Makefile.in 2013-11-15 21:46:25.000000000 +0800 +@@ -616,15 +616,15 @@ uninstall-man: uninstall-man1 + install-data-local: + #>- $(mkinstalldirs) ${DESTDIR}$(sysconfdir)/ + #>+ 1 +- $(mkinstalldirs) $(DESTDIR)${DESTDIR}$(sysconfdir)/ ++ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/ + #>- $(INSTALL_DATA) $(top_srcdir)/media-detect.conf ${DESTDIR}$(sysconfdir)/media-detect.conf + #>+ 1 +- $(INSTALL_DATA) $(top_srcdir)/media-detect.conf $(DESTDIR)${DESTDIR}$(sysconfdir)/media-detect.conf ++ $(INSTALL_DATA) $(top_srcdir)/media-detect.conf $(DESTDIR)$(sysconfdir)/media-detect.conf + + uninstall-local: + #>- -rm -f ${DESTDIR}$(sysconfdir)/media-detect.conf + #>+ 1 +- -rm -f $(DESTDIR)${DESTDIR}$(sysconfdir)/media-detect.conf ++ -rm -f $(DESTDIR)$(sysconfdir)/media-detect.conf + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/sysutils/lineak-defaultplugin/files/patch-defaultplugin.cpp b/sysutils/lineak-defaultplugin/files/patch-defaultplugin.cpp new file mode 100644 index 000000000000..be1f31503d99 --- /dev/null +++ b/sysutils/lineak-defaultplugin/files/patch-defaultplugin.cpp @@ -0,0 +1,10 @@ +--- default_plugin/defaultplugin.cpp.orig 2013-11-15 21:38:08.000000000 +0800 ++++ default_plugin/defaultplugin.cpp 2013-11-15 21:38:26.000000000 +0800 +@@ -16,6 +16,7 @@ + ***************************************************************************/ + + #include ++#include + #include + #include + #include -- cgit v1.2.3