aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xdm
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2007-10-29 23:04:44 +0800
committerflz <flz@FreeBSD.org>2007-10-29 23:04:44 +0800
commitdde7b9c6e02a9f0cc86c5b7aad4cc5d89e83f181 (patch)
treeb88b33ffe1fb3175037f93caf58caf81378c9d27 /x11/xdm
parent4eeb1380fa56dbbd2f3510a64e134c4e8bb6b5bf (diff)
downloadfreebsd-ports-gnome-dde7b9c6e02a9f0cc86c5b7aad4cc5d89e83f181.tar.gz
freebsd-ports-gnome-dde7b9c6e02a9f0cc86c5b7aad4cc5d89e83f181.tar.zst
freebsd-ports-gnome-dde7b9c6e02a9f0cc86c5b7aad4cc5d89e83f181.zip
Fix path. Xdm should look in lib/X11/xdm not share/examples/xdm.
PR: ports/116421 Submitted by: Warren Block <wblcok@wonkity.com>
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