diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 20:56:03 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 20:56:03 +0000 |
commit | 9d84545145bdcd5067f301722b6096cb41480b2f (patch) | |
tree | f389d4f76ae5cb00df114afb4248f594a0438e4f /net/vnc | |
parent | 7aa529225b6b9f75607d23d36cb9a769e3efc0bc (diff) | |
download | ports-9d84545145bdcd5067f301722b6096cb41480b2f.tar.gz ports-9d84545145bdcd5067f301722b6096cb41480b2f.zip |
- Use ${X11BASE} instead of hardcoded path
Submitted by: glewis
Notes
Notes:
svn path=/head/; revision=106613
Diffstat (limited to 'net/vnc')
-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 |