openbsd-ports/sysutils/tray-app/patches/patch-eject_Makefile
sthen 587c4c9e78 import ports/sysutils/tray-app, ok dcoppa@ (plus a wantlib sync since then
as I missed something).

Tray-app is a set of small gtk programs that reside in the system tray
(aka notification area).

eject ("safely remove hardware") allows you to choose a device from a
list, unmount filesystems and eject the device. This would normally be
run using sudo to elevate privileges.

battery is a battery charge level meter.

sound is an audio mixer.
2013-09-17 11:21:50 +00:00

21 lines
692 B
Plaintext

$OpenBSD: patch-eject_Makefile,v 1.1.1.1 2013/09/17 11:21:50 sthen Exp $
--- eject/Makefile.orig Mon Mar 12 08:46:04 2012
+++ eject/Makefile Tue Sep 17 11:39:28 2013
@@ -8,13 +8,13 @@ MAN=
gtk_CFLAGS!= pkg-config --cflags gtk+-2.0 libnotify
gtk_LDFLAGS!= pkg-config --libs gtk+-2.0 libnotify
-CFLAGS= -W -Wall -g -O0 -I../lib $(gtk_CFLAGS)
+CFLAGS+= -W -Wall -I../lib $(gtk_CFLAGS)
LDFLAGS= -L../lib $(gtk_LDFLAGS)
LDADD= -ltrayapp
-BINDIR=/usr/local/libexec/tray-app
+BINDIR=${TRUEPREFIX}/libexec/tray-app
beforeinstall:
- if [ \! -d "$(BINDIR)" ]; then mkdir "$(BINDIR)"; fi
+ if [ \! -d "$(DESTDIR)$(BINDIR)" ]; then mkdir -p "$(DESTDIR)$(BINDIR)"; fi
.include <bsd.prog.mk>