diff options
author | krion <krion@FreeBSD.org> | 2004-04-10 04:56:03 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-04-10 04:56:03 +0800 |
commit | 243c2dac783a767439b308228ad79d4a128029f8 (patch) | |
tree | 251dbc468d8f070f727141dfd391a685c223b327 /net | |
parent | a8a69bde37f4b201815393ef3ba413f20083712f (diff) | |
download | freebsd-ports-gnome-243c2dac783a767439b308228ad79d4a128029f8.tar.gz freebsd-ports-gnome-243c2dac783a767439b308228ad79d4a128029f8.tar.zst freebsd-ports-gnome-243c2dac783a767439b308228ad79d4a128029f8.zip |
- Use ${X11BASE} instead of hardcoded path
Submitted by: glewis
Diffstat (limited to 'net')
-rw-r--r-- | net/vnc/Makefile | 4 | ||||
-rw-r--r-- | net/vnc/files/patch-Xvnc::config::cf::vnc.def | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile index 08ade87ba017..7989808cbc32 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} diff --git a/net/vnc/files/patch-Xvnc::config::cf::vnc.def b/net/vnc/files/patch-Xvnc::config::cf::vnc.def index 2dfa8b551926..e9f159e1f1f4 100644 --- a/net/vnc/files/patch-Xvnc::config::cf::vnc.def +++ b/net/vnc/files/patch-Xvnc::config::cf::vnc.def @@ -5,6 +5,6 @@ #endif +#ifdef FreeBSDArchitecture -+#define ProjectRoot /usr/X11R6 ++#define ProjectRoot %%X11BASE%% +#endif |