pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gst-plugins0.10-bad
Module Name: pkgsrc
Committed By: mef
Date: Thu Sep 23 13:25:43 UTC 2021
Modified Files:
pkgsrc/multimedia/gst-plugins0.10-bad: Makefile
Log Message:
(multimedia/gst-plugins0.10-bad) Adhoc fix for \#include line problem
# really adhoc fix
# intention is that the file gst-libs/gst/interfaces/photography-enumtypes.c
# has the line
# #include "photography.h"
# instead of
# \#include "photography.h"
# To do that, modify generating Makefile to insert sed command.
# It may be some problems on glib-mkenums (in glib2-tools)
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/multimedia/gst-plugins0.10-bad/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gst-plugins0.10-bad/Makefile
diff -u pkgsrc/multimedia/gst-plugins0.10-bad/Makefile:1.34 pkgsrc/multimedia/gst-plugins0.10-bad/Makefile:1.35
--- pkgsrc/multimedia/gst-plugins0.10-bad/Makefile:1.34 Wed Apr 21 11:40:31 2021
+++ pkgsrc/multimedia/gst-plugins0.10-bad/Makefile Thu Sep 23 13:25:43 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2021/04/21 11:40:31 adam Exp $
+# $NetBSD: Makefile,v 1.35 2021/09/23 13:25:43 mef Exp $
#
USE_LANGUAGES= c c++
@@ -8,6 +8,24 @@ PKGREVISION= 11
COMMENT+= Bad plugins
+# really adhoc fix
+# intention is that the file gst-libs/gst/interfaces/photography-enumtypes.c
+# has the line
+# #include "photography.h"
+# instead of
+# \#include "photography.h"
+# To do that, modify generating Makefile to insert sed command
+# It may be some problems on glib-mkenums (in glib2-tools)
+
+SED_STRING= ',$$^ > $$@,$$^ | sed -e "s/\\\\\\\#include/\#include/" > $$@,'
+
+SUBST_CLASSES+= backslash
+SUBST_FILES.backslash= gst-libs/gst/interfaces/Makefile
+SUBST_MESSAGE.backslash= Remove unnecessary bachslash
+SUBST_SED.backslash= -e '/enumtypes.c:/,/ a hack rule to make sure/'s${SED_STRING}
+SUBST_STAGE.backslash= post-configure
+
+
# builds gsettings module
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
Home |
Main Index |
Thread Index |
Old Index