summaryrefslogtreecommitdiff
path: root/sysutils/asapm
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-29 22:41:00 +0000
committerjlam <jlam>2001-08-29 22:41:00 +0000
commitf1323b234ca20824755b76198612200030970f1a (patch)
tree0943c3791afa0b712d3818b69672014acfe55e03 /sysutils/asapm
parentbe19eefa6c1513ef751e213c6afbe76404f3ced2 (diff)
downloadpkgsrc-f1323b234ca20824755b76198612200030970f1a.tar.gz
Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to ${LOCALBASE}/share/x11-links. These packages should now be strongly- buildlinked regardless of whether xpkgwedge is installed. Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
Diffstat (limited to 'sysutils/asapm')
-rw-r--r--sysutils/asapm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
index 7b184e1029d..1075abf8229 100644
--- a/sysutils/asapm/Makefile
+++ b/sysutils/asapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/07/15 10:50:07 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2001/08/29 22:41:20 jlam Exp $
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
#
@@ -18,9 +18,11 @@ IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
-USE_X11= YES
CONFIGURE_ARGS+= --disable-jpeg # there actually is no JPEG support
CONFIGURE_ARGS+= --with-xpm
+CONFIGURE_ARGS+= --with-xpm-includes=${BUILDLINK_DIR}/include
+CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_DIR}/lib
.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"