diff options
Diffstat (limited to 'x11/bbapm/Makefile')
-rw-r--r-- | x11/bbapm/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/bbapm/Makefile b/x11/bbapm/Makefile index f5ecad78b7a..454d78b15cc 100644 --- a/x11/bbapm/Makefile +++ b/x11/bbapm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/09/07 20:46:35 jschauma Exp $ +# $NetBSD: Makefile,v 1.3 2002/09/08 00:03:56 jschauma Exp $ # based on # FreeBSD port: # ID: ports/x11-wm/bbapm/Makefile,v 1.5 2002/09/02 01:30:15 lioux Exp @@ -20,7 +20,7 @@ LDFLAGS+= -Wl,-R${X11BASE}/lib # 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 +ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-* post-patch: ${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbapm.1.tmp > \ @@ -35,3 +35,7 @@ do-install: .endfor .include "../../mk/bsd.pkg.mk" + +.if ${OPSYS} == "Linux" +LDFLAGS+= -lapm +.endif |