diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /devel/xwpe | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
Notes
Diffstat (limited to 'devel/xwpe')
-rw-r--r-- | devel/xwpe/Makefile | 2 | ||||
-rw-r--r-- | devel/xwpe/files/patch-09 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/xwpe/Makefile b/devel/xwpe/Makefile index 7ea2f1a8eefe..b1a99d0fe7a2 100644 --- a/devel/xwpe/Makefile +++ b/devel/xwpe/Makefile @@ -32,7 +32,7 @@ MLINKS= xwpe.1 xwe.1 \ post-patch: .for file in we_prog.c we_fl_unix.c @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ - s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/${file} + s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/${file} .endfor ${REINPLACE_CMD} -e 's|$$(INSTALL_PROGRAM)|${INSTALL_PROGRAM}|g' \ ${WRKSRC}/Makefile.in diff --git a/devel/xwpe/files/patch-09 b/devel/xwpe/files/patch-09 index 47bc8a4e0a37..2b956ba10032 100644 --- a/devel/xwpe/files/patch-09 +++ b/devel/xwpe/files/patch-09 @@ -18,9 +18,9 @@ - manpath = strdup("/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man"); + manpath = strdup( +#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__)) -+ "/usr/share/man:%%X11BASE%%/man:%%LOCALBASE%%/man"); ++ "/usr/share/man:%%LOCALBASE%%/man:%%LOCALBASE%%/man"); +#else -+ "/usr/man:%%X11BASE%%/man:%%LOCALBASE%%/man"); ++ "/usr/man:%%LOCALBASE%%/man:%%LOCALBASE%%/man"); +#endif } /* Allocate the maximum possible rather than continually realloc. */ |