We use i386/apmvar.h; other architectures will require modification

of the patches, probably something like ${MACHINE_ARCH}/apmvar.h in
patch-ak .  I dont' have access to other ports, so for now:
ONLY_FOR_PLATFORM=      NetBSD-*-i386 Linux-*-i[3-6]86
This commit is contained in:
jschauma 2002-09-07 20:46:35 +00:00
parent a5a8046ab7
commit 3e8a5c37f3

View file

@ -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