aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-03-18 06:05:36 +0800
committerantoine <antoine@FreeBSD.org>2015-03-18 06:05:36 +0800
commit6866d1a8ce00692e13d7dd55f8d5693076a98b35 (patch)
treede359b730dfa35be6533f68f6c98fd9e130dc2c6 /sysutils
parent13a41eff433e41d8c3e23a2e7e609c9f5696cfdf (diff)
downloadfreebsd-ports-gnome-6866d1a8ce00692e13d7dd55f8d5693076a98b35.tar.gz
freebsd-ports-gnome-6866d1a8ce00692e13d7dd55f8d5693076a98b35.tar.zst
freebsd-ports-gnome-6866d1a8ce00692e13d7dd55f8d5693076a98b35.zip
Use gmake instead of using rules that may or may not work depending of the
version of sys.mk This fixes build on head after r279980
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xacpim/Makefile1
-rw-r--r--sysutils/xacpim/files/patch-Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/xacpim/Makefile b/sysutils/xacpim/Makefile
index 5103c6843a36..f246daa0a791 100644
--- a/sysutils/xacpim/Makefile
+++ b/sysutils/xacpim/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://shapeshifter.se/pub/xacpim/
MAINTAINER= henriknj@0xmilk.org
COMMENT= Utility to display battery status and temperature on the root-display
+USES= gmake
USE_XORG= x11
PLIST_FILES= bin/xacpim
diff --git a/sysutils/xacpim/files/patch-Makefile b/sysutils/xacpim/files/patch-Makefile
index cc019995d8d1..0b8b98211dcd 100644
--- a/sysutils/xacpim/files/patch-Makefile
+++ b/sysutils/xacpim/files/patch-Makefile
@@ -9,7 +9,7 @@
all:: ${OBJS}
- ${CC} -o xacpim *.o -lX11 -L/usr/X11R6/lib -I/usr/X11R6/include
-+ ${CC} -o xacpim *.o -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include
++ ${CC} -o xacpim ${OBJS} -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include
install:: xacpim
strip xacpim