diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-23 06:00:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-23 06:00:27 +0000 |
commit | 6bcaf0b8903a89d1b436a0edd99f3525c26c3c66 (patch) | |
tree | 8ad9107c06ac3d90ef2c22904ca915e8bc78e754 /sysutils/xosview | |
parent | f2927a152290792a42ad4067c19bbacc5f3f88d7 (diff) | |
download | pkgsrc-6bcaf0b8903a89d1b436a0edd99f3525c26c3c66.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. This
package is strongly-buildlinked.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r-- | sysutils/xosview/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile index dbc21a997eb..6256f00aefe 100644 --- a/sysutils/xosview/Makefile +++ b/sysutils/xosview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2001/06/12 20:33:08 jlam Exp $ +# $NetBSD: Makefile,v 1.36 2001/09/23 06:00:27 jlam Exp $ # DISTNAME= xosview-1.7.0.b @@ -11,10 +11,13 @@ MAINTAINER= bgrayson@netbsd.org HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html COMMENT= X11 graphical display of OS statistics -HAS_CONFIGURE= YES -CONFIGURE_ARGS+= --prefix=${PREFIX} -USE_X11BASE= YES -USE_XPM= YES +HAS_CONFIGURE= YES +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --x-includes=${BUILDLINK_X11_DIR}/include +CONFIGURE_ARGS+= --x-libraries=${BUILDLINK_X11_DIR}/lib + +USE_X11BASE= YES +USE_BUILDLINK_ONLY= YES .include "../../mk/bsd.prefs.mk" @@ -23,9 +26,11 @@ BUILD_DEFS= UVM .elif ${OPSYS} == "SunOS" BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++ -CPPFLAGS+= -I${X11BASE}/include +CPPFLAGS+= -I${BUILDLINK_X11_DIR}/include LIBS+= -lsocket -lnsl USE_GMAKE= YES .endif +.include "../../graphics/xpm/buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |