aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnomeicu2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnomeicu2/Makefile')
-rw-r--r--net/gnomeicu2/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/gnomeicu2/Makefile b/net/gnomeicu2/Makefile
index d644bb798a01..74984aba434e 100644
--- a/net/gnomeicu2/Makefile
+++ b/net/gnomeicu2/Makefile
@@ -18,7 +18,8 @@ BUILD_DEPENDS+= gnet-config:${PORTSDIR}/net/gnet
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack libglade libpanel gdkpixbuf
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if defined(WITH_DANTE)
@@ -44,11 +45,8 @@ CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS}"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|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 <bsd.port.mk>