pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/guile-haunt



Module Name:    pkgsrc
Committed By:   nikita
Date:           Tue May 16 15:29:38 UTC 2023

Modified Files:
        pkgsrc/www/guile-haunt: Makefile PLIST

Log Message:
guile-haunt: fix build on systems (Linux) which have inotify available.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/guile-haunt/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/guile-haunt/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/guile-haunt/Makefile
diff -u pkgsrc/www/guile-haunt/Makefile:1.7 pkgsrc/www/guile-haunt/Makefile:1.8
--- pkgsrc/www/guile-haunt/Makefile:1.7 Tue Mar 15 11:21:02 2022
+++ pkgsrc/www/guile-haunt/Makefile     Tue May 16 15:29:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/03/15 11:21:02 nikita Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/16 15:29:38 nikita Exp $
 
 DISTNAME=      haunt-0.2.6
 PKGNAME=       guile-${DISTNAME}
@@ -17,9 +17,17 @@ GNU_CONFIGURE_PREFIX=        ${PREFIX}/guile/3.
 USE_TOOLS+=            pkg-config
 INFO_FILES=            yes
 
-# \todo: add guile-reader, for Skribe support
+# TODO: add guile-reader, for Skribe support
 DEPENDS+=      guile-commonmark-[0-9]*:../../textproc/guile-commonmark
 
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   inotify
+
+.if ${OPSYS} == "Linux"
+PLIST.inotify= yes
+.endif
+
 # There is no check for guile scripts, the @GUILE@ ends up
 # in the package with the WRKSRC/BL3 location of guile.
 SUBST_CLASSES+=                guile

Index: pkgsrc/www/guile-haunt/PLIST
diff -u pkgsrc/www/guile-haunt/PLIST:1.4 pkgsrc/www/guile-haunt/PLIST:1.5
--- pkgsrc/www/guile-haunt/PLIST:1.4    Mon Mar 14 15:13:26 2022
+++ pkgsrc/www/guile-haunt/PLIST        Tue May 16 15:29:38 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/03/14 15:13:26 nikita Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/05/16 15:29:38 nikita Exp $
 guile/3.0/bin/haunt
 guile/3.0/info/haunt.info
 guile/3.0/lib/guile/3.0/site-ccache/haunt/artifact.go
@@ -9,6 +9,7 @@ guile/3.0/lib/guile/3.0/site-ccache/haun
 guile/3.0/lib/guile/3.0/site-ccache/haunt/builder/rss.go
 guile/3.0/lib/guile/3.0/site-ccache/haunt/config.go
 guile/3.0/lib/guile/3.0/site-ccache/haunt/html.go
+${PLIST.inotify}guile/3.0/lib/guile/3.0/site-ccache/haunt/inotify.go
 guile/3.0/lib/guile/3.0/site-ccache/haunt/page.go
 guile/3.0/lib/guile/3.0/site-ccache/haunt/post.go
 guile/3.0/lib/guile/3.0/site-ccache/haunt/reader.go
@@ -29,6 +30,7 @@ guile/3.0/share/guile/site/3.0/haunt/bui
 guile/3.0/share/guile/site/3.0/haunt/builder/rss.scm
 guile/3.0/share/guile/site/3.0/haunt/config.scm
 guile/3.0/share/guile/site/3.0/haunt/html.scm
+${PLIST.inotify}guile/3.0/share/guile/site/3.0/haunt/inotify.scm
 guile/3.0/share/guile/site/3.0/haunt/page.scm
 guile/3.0/share/guile/site/3.0/haunt/post.scm
 guile/3.0/share/guile/site/3.0/haunt/reader.scm



Home | Main Index | Thread Index | Old Index