summaryrefslogtreecommitdiff
path: root/x11/bbapm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/bbapm/Makefile')
-rw-r--r--x11/bbapm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/bbapm/Makefile b/x11/bbapm/Makefile
index cd4ccb344ef..184d06bdc4b 100644
--- a/x11/bbapm/Makefile
+++ b/x11/bbapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/12/03 17:41:21 gson Exp $
+# $NetBSD: Makefile,v 1.8 2005/06/01 18:03:27 jlam Exp $
# based on
# FreeBSD port:
# ID: ports/x11-wm/bbapm/Makefile,v 1.5 2002/09/02 01:30:15 lioux Exp
@@ -15,7 +15,6 @@ HOMEPAGE= http://bbtools.windsofstorm.net/
COMMENT= APM monitor for Blackbox
GNU_CONFIGURE= yes
-USE_X11= yes
# For now:
# We use i386/apmvar.h; other architectures will require modification
@@ -23,6 +22,8 @@ USE_X11= yes
# patch-ak
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-*
+.include "../../mk/x11.buildlink3.mk"
+
post-patch:
${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbapm.1.tmp > \
${WRKSRC}/data/bbapm.1