openbsd-ports/x11/i3/patches/patch-i3-msg_i3-msg_mk
dcoppa 38febc9b19 Update to i3-4.3
OK jasper@
2012-09-21 17:16:13 +00:00

22 lines
902 B
Plaintext

$OpenBSD: patch-i3-msg_i3-msg_mk,v 1.1 2012/09/21 17:16:14 dcoppa Exp $
--- i3-msg/i3-msg.mk.orig Wed Sep 19 18:08:09 2012
+++ i3-msg/i3-msg.mk Fri Sep 21 15:22:52 2012
@@ -12,7 +12,7 @@ i3_msg_OBJECTS := $(i3_msg_SOURCES:.c=.o)
i3-msg/%.o: i3-msg/%.c $(i3_msg_HEADERS)
echo "[i3-msg] CC $<"
- $(CC) $(I3_CPPFLAGS) $(XCB_CPPFLAGS) $(CPPFLAGS) $(i3_msg_CFLAGS) $(I3_CFLAGS) $(CFLAGS) -c -o $@ $<
+ $(CC) $(I3_CPPFLAGS) $(XCB_CPPFLAGS) $(CPPFLAGS) $(I3_CFLAGS) $(i3_msg_CFLAGS) $(CFLAGS) -c -o $@ $<
i3-msg/i3-msg: libi3.a $(i3_msg_OBJECTS)
echo "[i3-msg] Link i3-msg"
@@ -21,7 +21,7 @@ i3-msg/i3-msg: libi3.a $(i3_msg_OBJECTS)
install-i3-msg: i3-msg/i3-msg
echo "[i3-msg] Install"
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -m 0755 i3-msg/i3-msg $(DESTDIR)$(PREFIX)/bin/
+ ${INSTALL_PROGRAM} i3-msg/i3-msg $(DESTDIR)$(PREFIX)/bin/
clean-i3-msg:
echo "[i3-msg] Clean"