summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-12-02 00:10:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-12-02 00:10:54 +0000
commit2b201eb1a6ceffad19c943a052bfa59f0553d84c (patch)
tree580586d60a4d65c5e38ee16cb7133d44dbd64efd /astro
parentFix build on 5.0 (remove bogus sys_nerr declaration) (diff)
Fix package building due to GNOME'isms.
Reported by: bento Requested by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=71286
Diffstat (limited to 'astro')
-rw-r--r--astro/seti_applet/Makefile15
1 files changed, 5 insertions, 10 deletions
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