diff options
author | jlam <jlam> | 2000-07-30 08:08:13 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-07-30 08:08:13 +0000 |
commit | 7bdeaca2927946d67a12eb32dd8bd2bbdbd600cc (patch) | |
tree | c8935a12d14ac02fc740c414ea503a413d37a2f0 /x11/gnome-applets/Makefile | |
parent | 6c902baf8500814a229ddeb51c91339e66e9537e (diff) | |
download | pkgsrc-7bdeaca2927946d67a12eb32dd8bd2bbdbd600cc.tar.gz |
Rework how NetBSD APM is detected; get cdplayer to build; and get
battery working again. Addresses the following PRs by Jasper Wallace
<jasper@pointless.net>: 10420, 10421, 10422.
Diffstat (limited to 'x11/gnome-applets/Makefile')
-rw-r--r-- | x11/gnome-applets/Makefile | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index eb97331eefd..af75c13af20 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -1,23 +1,31 @@ -# $NetBSD: Makefile,v 1.5 2000/06/25 17:25:03 rh Exp $ +# $NetBSD: Makefile,v 1.6 2000/07/30 08:08:13 jlam Exp $ # -DISTNAME= gnome-applets-1.2.1 -CATEGORIES= x11 gnome -MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-applets/} +DISTNAME= gnome-applets-1.2.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-applets/} -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://www.gnome.org/ +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.gnome.org/ -DEPENDS+= gnome-core>=1.2.1:../../x11/gnome-core -DEPENDS+= libgtop-*:../../devel/libgtop +BUILD_DEPENDS+= autoreconf:../../devel/autoconf +BUILD_DEPENDS+= automake:../../devel/automake +DEPENDS+= gnome-core>=1.2.1:../../x11/gnome-core +DEPENDS+= libgtop-*:../../devel/libgtop -USE_GMAKE= yes -USE_X11BASE= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" +USE_GMAKE= yes +USE_X11BASE= yes +USE_LIBTOOL= yes -.if exists(/usr/include/machine/apmvar.h) -CPPFLAGS+= -D__NetBSD_APM__ -.endif +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CPPFLAGS+= -I${LOCALBASE}/include + +AUTOGEN_ENV= NOCONFIGURE=1 +AUTOGEN_ENV+= srcdir=${WRKSRC} + +pre-configure: + cd ${WRKSRC} && ${MV} -f aclocal.m4 acinclude.m4 + cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh .include "../../mk/bsd.pkg.mk" |