aboutsummaryrefslogtreecommitdiffstats
path: root/net/vnc/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-10 04:56:03 +0800
committerkrion <krion@FreeBSD.org>2004-04-10 04:56:03 +0800
commit243c2dac783a767439b308228ad79d4a128029f8 (patch)
tree251dbc468d8f070f727141dfd391a685c223b327 /net/vnc/Makefile
parenta8a69bde37f4b201815393ef3ba413f20083712f (diff)
downloadfreebsd-ports-graphics-243c2dac783a767439b308228ad79d4a128029f8.tar.gz
freebsd-ports-graphics-243c2dac783a767439b308228ad79d4a128029f8.tar.zst
freebsd-ports-graphics-243c2dac783a767439b308228ad79d4a128029f8.zip
- Use ${X11BASE} instead of hardcoded path
Submitted by: glewis
Diffstat (limited to 'net/vnc/Makefile')
-rw-r--r--net/vnc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 08ade87ba01..7989808cbc3 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -55,6 +55,10 @@ post-build:
@cd ${WRKSRC}/Xvnc && make World
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/Xvnc/config/cf/vnc.def
+
pre-install:
@${RM} -f ${PLIST}
@${TOUCH} -f ${PLIST}