summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-10-29 15:04:44 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-10-29 15:04:44 +0000
commit78b39bfed26d17c8fffb70b25eb0b8ef74d23b7a (patch)
treee9c6e97f47193015cd11b7f2069bb8f3cdeeebbe /x11/xdm
parent- Update to 2.2.0. Mark broken on RELENG_7; previous versions don't build (diff)
Fix path. Xdm should look in lib/X11/xdm not share/examples/xdm.
PR: ports/116421 Submitted by: Warren Block <wblcok@wonkity.com>
Notes
Notes: svn path=/head/; revision=202302
Diffstat (limited to 'x11/xdm')
-rw-r--r--x11/xdm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index e168ae29167e..f0cdff28427c 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xdm
PORTVERSION= 1.1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
@@ -28,6 +28,10 @@ post-patch:
-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
${WRKSRC}/config/xdm-config.cpp
+post-configure:
+ @${REINPLACE_CMD} -e "s|${EXAMPLESDIR}|${PREFIX}/lib/X11/xdm|" \
+ ${WRKSRC}/config.h
+
post-install:
.for f in ${CFFILES}
${CP} -n ${EXAMPLESDIR}/$f ${PREFIX}/lib/X11/xdm/$f