From 30fb8569371544b140cbfbe9d8d545a551b7a815 Mon Sep 17 00:00:00 2001 From: reg Date: Thu, 5 Oct 2000 07:10:50 +0000 Subject: Implement USE_GNOME, part 1. --- audio/yamt/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'audio/yamt/Makefile') diff --git a/audio/yamt/Makefile b/audio/yamt/Makefile index fc622c171a01..3b5b9c2f0472 100644 --- a/audio/yamt/Makefile +++ b/audio/yamt/Makefile @@ -14,15 +14,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= dima@Chg.RU -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs -RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gnome=${X11BASE} -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include -- cgit