Use MODGNU_AUTO*_DEPENDS instead of hardcoding the path.

This commit is contained in:
ajacoutot 2013-03-26 17:08:19 +00:00
parent 1a39569a06
commit a926c2d541
4 changed files with 24 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.85 2013/03/11 11:46:10 espie Exp $
# $OpenBSD: Makefile,v 1.86 2013/03/26 17:08:19 ajacoutot Exp $
SHARED_ONLY= Yes
@ -91,28 +91,28 @@ MODGNOME_ICON_CACHE= Yes
# Language code is synced with gdm but gnome-control-center does not
# provide a --with-incomplete-locales configure switch.
CFLAGS += -DWITH_INCOMPLETE_LOCALES
CFLAGS += -DWITH_INCOMPLETE_LOCALES
LIBTOOL_FLAGS= --tag=disable-static
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS= --disable-static \
--disable-update-mimedb \
--disable-systemd \
--without-cheese \
--with-x \
--enable-cups
CONFIGURE_ARGS= --disable-static \
--disable-update-mimedb \
--disable-systemd \
--without-cheese \
--with-x \
--enable-cups
MODGNOME_CPPFLAGS= -I${X11BASE}/include
MODGNOME_LDFLAGS= -L${X11BASE}/lib
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-control-center
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-control-center
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
BUILD_DEPENDS +=devel/autoconf/${AUTOCONF_VERSION} \
devel/automake/${AUTOMAKE_VERSION} \
devel/libtool \
x11/gnome/common
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool \
x11/gnome/common
pre-configure:
@cd ${WRKSRC} && \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2013/03/22 11:05:59 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2013/03/26 17:08:19 ajacoutot Exp $
COMMENT= library for bits of crypto UI and parsing
@ -44,8 +44,8 @@ CONFIGURE_ARGS= --disable-update-mime
### XXX remove on next upgrade
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
BUILD_DEPENDS += devel/autoconf/${AUTOCONF_VERSION} \
devel/automake/${AUTOMAKE_VERSION} \
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
post-patch:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2013/03/26 16:33:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.7 2013/03/26 17:08:19 ajacoutot Exp $
COMMENT= expose media content over D-Bus for Rygel to consume
@ -37,8 +37,8 @@ AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
BUILD_DEPENDS +=x11/gnome/common \
devel/autoconf/${AUTOCONF_VERSION} \
devel/automake/${AUTOMAKE_VERSION} \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
do-configure:

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:46:18 espie Exp $
# $OpenBSD: Makefile,v 1.13 2013/03/26 17:08:19 ajacoutot Exp $
COMMENT = Xfce4 developer tools and macros
XFCE_PROJECT = xfce4-dev-tools
HOMEPAGE = http://foo-projects.org/~benny/projects/xfce4-dev-tools/
REVISION= 1
REVISION= 2
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
@ -14,8 +14,8 @@ MODULES = x11/xfce4
RUN_DEPENDS = devel/libtool \
textproc/gtk-doc \
textproc/intltool \
devel/automake/${AUTOMAKE_VERSION} \
devel/autoconf/${AUTOCONF_VERSION} \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
shells/bash \
devel/git \
devel/subversion