diff options
author | jlam <jlam> | 2001-09-23 06:00:27 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-09-23 06:00:27 +0000 |
commit | a44da482eee9c09fe6c28515c8bc441a24336434 (patch) | |
tree | 8ad9107c06ac3d90ef2c22904ca915e8bc78e754 /sysutils | |
parent | 88d10aac1999fe0ffe2b6ddaae3cb48c64d37f36 (diff) | |
download | pkgsrc-a44da482eee9c09fe6c28515c8bc441a24336434.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. This
package is strongly-buildlinked.
Diffstat (limited to 'sysutils')
-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" |