summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/bbapm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/bbapm/Makefile b/x11/bbapm/Makefile
index 444038432b5..f5ecad78b7a 100644
--- a/x11/bbapm/Makefile
+++ b/x11/bbapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/07 20:22:52 jschauma Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/07 20:46:35 jschauma Exp $
# based on
# FreeBSD port:
# ID: ports/x11-wm/bbapm/Makefile,v 1.5 2002/09/02 01:30:15 lioux Exp
@@ -16,6 +16,12 @@ COMMENT= APM monitor for Blackbox
GNU_CONFIGURE= yes
LDFLAGS+= -Wl,-R${X11BASE}/lib
+# For now:
+# We use i386/apmvar.h; other architectures will require modification
+# of the patches, probably something like ${MACHINE_ARCH}/apmvar.h in
+# patch-ak
+ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i[3-6]86
+
post-patch:
${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbapm.1.tmp > \
${WRKSRC}/data/bbapm.1