diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-20 01:04:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-20 01:04:27 +0000 |
commit | c2eec5aa96c06a4130dac2ae966ee28e09653bd4 (patch) | |
tree | 6994471915f4d2889b2520174c50c5f3b83bdc64 /x11/numlockx | |
parent | 8e6895ec77d64625611dbcfb7f723906d995c654 (diff) | |
download | pkgsrc-c2eec5aa96c06a4130dac2ae966ee28e09653bd4.tar.gz |
Modular Xorg support.
Diffstat (limited to 'x11/numlockx')
-rw-r--r-- | x11/numlockx/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/x11/numlockx/Makefile b/x11/numlockx/Makefile index 741c5ff3ef7..bb4e8cffff4 100644 --- a/x11/numlockx/Makefile +++ b/x11/numlockx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:31:10 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2007/02/20 01:04:27 joerg Exp $ # DISTNAME= numlockx-1.1 @@ -12,10 +12,19 @@ COMMENT= Allows you to start X with numlock turned on GNU_CONFIGURE= yes -.include "../../mk/x11.buildlink3.mk" - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/numlockx ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/numlockx +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "modular" +CONFIGURE_ARGS+= --x-includes=${BUILDLINK_PREFIX.libX11:Q}/include +CONFIGURE_ARGS+= --x-libraries=${BUILDLINK_PREFIX.libX11:Q}/lib${LIBABISUFFIX:Q} +.endif + +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXtst/buildlink3.mk" +.include "../../x11/xextproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |