From 865d9721b0efa843f83d8ca18139173b39e5c408 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 2 Dec 2002 00:10:54 +0000 Subject: Fix package building due to GNOME'isms. Reported by: bento Requested by: portmgr (kris) --- astro/seti_applet/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'astro/seti_applet') diff --git a/astro/seti_applet/Makefile b/astro/seti_applet/Makefile index 9e56eb21ac9f..c5d9c37ee84e 100644 --- a/astro/seti_applet/Makefile +++ b/astro/seti_applet/Makefile @@ -17,13 +17,13 @@ MAINTAINER= cyrille.lefevre@laposte.net # Global variables # -LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop \ - intl.4:${PORTSDIR}/devel/gettext +LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome USE_REINPLACE= yes USE_X_PREFIX= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libpanel gnomecanvas USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -40,18 +40,13 @@ XARGS?= xargs # Post-patch # -post-patch: patch-configure patch-makefiles-in \ - patch-seti_applet patch-pkgmessage +post-patch: patch-configure patch-seti_applet \ + patch-pkgmessage patch-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g;\ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure -patch-makefiles-in: - @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g;\ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' - patch-seti_applet: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/seti_applet.c -- cgit