aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnomesession/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnomesession/Makefile')
-rw-r--r--x11/gnomesession/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/x11/gnomesession/Makefile b/x11/gnomesession/Makefile
index bb4f84718265..f3f76b1a5238 100644
--- a/x11/gnomesession/Makefile
+++ b/x11/gnomesession/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= gnomesession
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc1
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc2
DISTNAME= gnome-session-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -19,6 +19,7 @@ LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
@@ -32,10 +33,10 @@ MAN1= gnome-libice-check.1 gnome-login-check.1 gnome-session.1 \
MAN5= default.session.5
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${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'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>