pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/unison



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Dec  2 00:05:45 UTC 2025

Modified Files:
        pkgsrc/net/unison: Makefile options.mk

Log Message:
net/unison: Sync unison build targets with pkgsrc options

to avoid e.g. unison's build system trying to build the gui if lablgtk
is installed but not buildlinked.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 pkgsrc/net/unison/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/unison/options.mk

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

Modified files:

Index: pkgsrc/net/unison/Makefile
diff -u pkgsrc/net/unison/Makefile:1.173 pkgsrc/net/unison/Makefile:1.174
--- pkgsrc/net/unison/Makefile:1.173    Wed Nov  5 00:21:39 2025
+++ pkgsrc/net/unison/Makefile  Tue Dec  2 00:05:45 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.173 2025/11/05 00:21:39 gdt Exp $
+# $NetBSD: Makefile,v 1.174 2025/12/02 00:05:45 gdt Exp $
 
 DISTNAME=      unison-2.53.8
 #PKGREVISION=  0
@@ -30,6 +30,10 @@ MAKE_FLAGS+= NATIVE=true
 MAKE_FLAGS+=   NATIVE=false
 .endif
 
+# Avoid unison's build system auto-detecting lablgtk and trying to use
+# it, if not bl3ed.
+BUILD_TARGET=  tui manpage
+
 # bsd.prefs.mk, included also by options, must be after ocaml to get
 # _PKGSRC_MKPIE set correctly.
 .include "options.mk"

Index: pkgsrc/net/unison/options.mk
diff -u pkgsrc/net/unison/options.mk:1.10 pkgsrc/net/unison/options.mk:1.11
--- pkgsrc/net/unison/options.mk:1.10   Wed Nov  5 00:21:39 2025
+++ pkgsrc/net/unison/options.mk        Tue Dec  2 00:05:45 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2025/11/05 00:21:39 gdt Exp $
+# $NetBSD: options.mk,v 1.11 2025/12/02 00:05:45 gdt Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.unison
 PKG_SUPPORTED_OPTIONS= lablgtk inotify
@@ -19,6 +19,8 @@ PKG_SUGGESTED_OPTIONS+=       inotify
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mlablgtk)
+BUILD_TARGET+= gui
+
 PLIST.gtk3=    yes
 
 DEPENDS+=      font-schumacher-misc>=1.0:../../fonts/font-schumacher-misc
@@ -26,6 +28,8 @@ DEPENDS+=     font-schumacher-misc>=1.0:../.
 .endif
 
 .if !empty(PKG_OPTIONS:Minotify)
+BUILD_TARGET+= fsmonitor
+
 PLIST.monitor= yes
 
 .include "../../devel/libinotify/buildlink3.mk"



Home | Main Index | Thread Index | Old Index