t* My OpenBSD ports
       
   URI git clone git://git.codevoid.de/mystuff.git
   DIR Log
   DIR Files
   DIR Refs
       ---
       tpatch-Makefile (580B)
       ---
            1 $OpenBSD$
            2 
            3 We need -std=gnu99 for !clang archs.
            4 Fix install commands
            5 
            6 Index: Makefile
            7 --- Makefile.orig
            8 +++ Makefile
            9 @@ -1,7 +1,7 @@
           10  CC?=gcc
           11  PKG_CONFIG?=pkg-config
           12  
           13 -CFLAGS?=-g -O2 -Wall
           14 +CFLAGS+=-std=gnu99
           15  LDFLAGS?=
           16  
           17  PREFIX?=/usr/local
           18 @@ -30,8 +30,8 @@ hsetroot: hsetroot.o
           19  hsr-outputs: hsr-outputs.o
           20  
           21  install: hsetroot hsr-outputs
           22 -        install -st $(PREFIX)/bin/ hsetroot
           23 -        install -st $(PREFIX)/bin/ hsr-outputs
           24 +        install -sm 0755 -D hsetroot $(DESTDIR)$(PREFIX)/bin/
           25 +        install -sm 0755 -D hsr-outputs $(DESTDIR)$(PREFIX)/bin/
           26  
           27  clean:
           28          rm -f *.o hsetroot hsr-outputs