aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-06-14 00:19:24 +0800
committermezz <mezz@FreeBSD.org>2007-06-14 00:19:24 +0800
commitb1f72405f10ff9276a37ac30140aaa557d6d4213 (patch)
tree80904c51b5bba0d65c779b4670c76fa4b270cfc2 /x11/gdm
parent7a6c6756202a02484aa8fb584351f9c83bc5c350 (diff)
downloadfreebsd-ports-gnome-b1f72405f10ff9276a37ac30140aaa557d6d4213.tar.gz
freebsd-ports-gnome-b1f72405f10ff9276a37ac30140aaa557d6d4213.tar.zst
freebsd-ports-gnome-b1f72405f10ff9276a37ac30140aaa557d6d4213.zip
Add a hack to fix a lot of hardcore paths of /usr/X11R6 to fix the problem for
users that do not have symlink of /usr/X11R6 -> /usr/local when they have gdm enable in the startup. Bump the PORTREVISION. Reported by: Werner Lehmann <elvis69@arcor.de>
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 7b5a509e9e77..647f89144902 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gdm
PORTVERSION= 2.18.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -76,6 +76,9 @@ post-patch:
.endif
@${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \
${WRKSRC}/config/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
+ ${WRKSRC}/configure ${WRKSRC}/po/*.po ${WRKSRC}/gui/*.glade \
+ ${WRKSRC}/daemon/*.c ${WRKSRC}/docs/*/*.xml
post-install:
.if !defined(PACKAGE_BUILDING)