pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ocsigen-start Additional changes to template in ww...
details: https://anonhg.NetBSD.org/pkgsrc/rev/271d159b8379
branches: trunk
changeset: 381409:271d159b8379
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Wed Jun 06 10:50:51 2018 +0000
description:
Additional changes to template in www/ocsigen-start. Revbump.
diffstat:
www/ocsigen-start/Makefile | 12 ++++-
www/ocsigen-start/distinfo | 4 +-
www/ocsigen-start/patches/patch-template.distillery_Makefile.style | 14 +++++++
www/ocsigen-start/patches/patch-template.distillery_PROJECT__NAME.eliom | 20 ++++++++++
4 files changed, 46 insertions(+), 4 deletions(-)
diffs (93 lines):
diff -r bc57a775f685 -r 271d159b8379 www/ocsigen-start/Makefile
--- a/www/ocsigen-start/Makefile Wed Jun 06 10:34:03 2018 +0000
+++ b/www/ocsigen-start/Makefile Wed Jun 06 10:50:51 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2018/06/06 09:45:01 jaapb Exp $
+# $NetBSD: Makefile,v 1.3 2018/06/06 10:50:51 jaapb Exp $
GITHUB_PROJECT= ocsigen-start
DISTNAME= ${GITHUB_PROJECT}-1.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
@@ -26,7 +26,7 @@
DEPENDS+= eliom>=6.3:../../www/eliom
-SUBST_CLASSES+= fix-settings
+SUBST_CLASSES+= fix-settings fix-md5
SUBST_STAGE.fix-settings= pre-configure
SUBST_FILES.fix-settings= template.distillery/Makefile.db
SUBST_FILES.fix-settings+= template.distillery/Makefile.options
@@ -35,6 +35,12 @@
SUBST_SED.fix-settings+= -e '/USE_SASS/s,yes,no,'
SUBST_SED.fix-settings+= -e '/USE_NPM/s,yes,no,'
+SUBST_STAGE.fix-md5= pre-configure
+SUBST_FILES.fix-md5= template.distillery/Makefile.mobile
+SUBST_FILES.fix-md5+= template.distillery/Makefile.os
+SUBST_FILES.fix-md5+= template.distillery/Makefile.style
+SUBST_SED.fix-md5= -e 's,md5sum,md5,g'
+
pre-configure:
${RUN} cd ${WRKSRC} && rm -f template.distillery/*.orig
diff -r bc57a775f685 -r 271d159b8379 www/ocsigen-start/distinfo
--- a/www/ocsigen-start/distinfo Wed Jun 06 10:34:03 2018 +0000
+++ b/www/ocsigen-start/distinfo Wed Jun 06 10:50:51 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2018/06/06 09:45:01 jaapb Exp $
+$NetBSD: distinfo,v 1.3 2018/06/06 10:50:51 jaapb Exp $
SHA1 (ocsigen-start-1.1.0.tar.gz) = 17227ab765b6a7a794938353415d226cbfcfc885
RMD160 (ocsigen-start-1.1.0.tar.gz) = bc5a6814054a4abf6d40a5c70c6b26293a81668e
@@ -8,3 +8,5 @@
SHA1 (patch-template.distillery_Makefile.db) = fd3ffe0453f1dd68270435c3176be7a489f3c04b
SHA1 (patch-template.distillery_Makefile.mobile) = 50e2f2b28881a100ac94982de5187c230e0bb95e
SHA1 (patch-template.distillery_Makefile.options) = c9604909a345f47b7cf7429919c6921cf6821591
+SHA1 (patch-template.distillery_Makefile.style) = a3b449916340ab339abcd02e85892f08c6c4093f
+SHA1 (patch-template.distillery_PROJECT__NAME.eliom) = 59ed67268ce9f2a6756bb564762d54a38e803810
diff -r bc57a775f685 -r 271d159b8379 www/ocsigen-start/patches/patch-template.distillery_Makefile.style
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen-start/patches/patch-template.distillery_Makefile.style Wed Jun 06 10:50:51 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-template.distillery_Makefile.style,v 1.1 2018/06/06 10:50:51 jaapb Exp $
+
+Correct invocation of sed
+--- template.distillery/Makefile.style.orig 2018-03-09 16:47:43.000000000 +0000
++++ template.distillery/Makefile.style
+@@ -9,7 +9,7 @@ check_sed:
+ ifneq ($(shell sed --version 2> /dev/null),)
+ SED = sed -i
+ else
+-SED = sed -i .css
++SED = sed -i.css
+ endif
+
+ css: import-external-css $(CSS_DEST)
diff -r bc57a775f685 -r 271d159b8379 www/ocsigen-start/patches/patch-template.distillery_PROJECT__NAME.eliom
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen-start/patches/patch-template.distillery_PROJECT__NAME.eliom Wed Jun 06 10:50:51 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-template.distillery_PROJECT__NAME.eliom,v 1.1 2018/06/06 10:50:51 jaapb Exp $
+
+Lwt_log is deprecated
+--- template.distillery/PROJECT_NAME.eliom.orig 2018-03-09 16:47:43.000000000 +0000
++++ template.distillery/PROJECT_NAME.eliom
+@@ -70,7 +70,7 @@ let%server () =
+ Lwt_log.ign_info ~section "This is an information";
+ (or ign_debug, ign_warning, ign_error etc.)
+ *)
+-let%server _ =
++(* let%server _ =
+ if Eliom_config.get_debugmode ()
+ then begin
+ ignore
+@@ -83,4 +83,4 @@ let%server _ =
+ : unit ) ];
+ (* Lwt_log_core.add_rule "*" Lwt_log.Debug *)
+ Lwt_log_core.add_rule "%%%MODULE_NAME%%%*" Lwt_log.Debug
+- end
++ end *)
Home |
Main Index |
Thread Index |
Old Index