summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-06-13 16:19:24 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-06-13 16:19:24 +0000
commita0dbbd525e2d81ad5a544dad2de75aede4d203bf (patch)
tree7760cea03c724f5659ef686520ac7149949fab44 /x11
parentDepend on graphics/tgif port not tgif-nls. (diff)
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>
Notes
Notes: svn path=/head/; revision=193403
Diffstat (limited to 'x11')
-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)