On Sun, Nov 05, 2023 at 12:04:13PM -0700, Stefan Hagen wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2023/11/05 12:04:13
> 
> Log message:
>     Import x11/srandrd version 0.6.3
>     
>     $ cat pkg/DESCR
>     srandrd is a tool that executes a command on xrandr output change
>     events, i.e. if a monitor is plugged or unplugged.
>     
>     I'm taking MAINTAINER as well.
>     
>     OK op thfr (with hints from both)
>     
>     Status:
>     
>     Vendor Tag:       sdk
>     Release Tags:     sdk_20231105
>     
>     N ports/x11/srandrd/Makefile
>     N ports/x11/srandrd/distinfo
>     N ports/x11/srandrd/pkg/DESCR
>     N ports/x11/srandrd/pkg/PLIST
>     N ports/x11/srandrd/patches/patch-Makefile
>     
>     No conflicts created by this import

Make it respect CFLAGS.
OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/srandrd/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    5 Nov 2023 19:04:12 -0000       1.1.1.1
+++ Makefile    6 Nov 2023 07:55:23 -0000
@@ -1,6 +1,7 @@
 COMMENT =      execute program on xrandr output changes
 
 DIST_TUPLE =   github jceb srandrd v0.6.3 .
+REVISION =     0
 
 CATEGORIES =   x11
 
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/x11/srandrd/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile      5 Nov 2023 19:04:12 -0000       1.1.1.1
+++ patches/patch-Makefile      6 Nov 2023 07:55:23 -0000
@@ -6,7 +6,7 @@ Index: Makefile
  MANPREFIX     := $(DESTDIR)$(MANPREFIX)
  
 -CFLAGS                := -Wall -g -Os -pedantic -std=c99 #-Werror -Wextra
-+CFLAGS                := -I$(X11BASE)/include -Wall -g -pedantic -std=c99 
#-Werror -Wextra
++CFLAGS                += -I$(X11BASE)/include -Wall -g -pedantic -std=c99 
#-Werror -Wextra
  CPPFLAGS      += -D_DEFAULT_SOURCE
  CPPFLAGS      += -DNAME=\"$(TARGET)\" -DVERSION=\"$(VERSION)\"
  CPPFLAGS      += -DCOPYRIGHT=\"$(COPYRIGHT)\" -DLICENSE=\"$(LICENSE)\"


-- 
Antoine

Reply via email to