aboutsummaryrefslogtreecommitdiff
path: root/french/xtel/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-01 14:10:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-01 14:10:16 +0000
commit0fe76080c6987b1e03f3edc57f8b4722626c8dab (patch)
tree535a183412baf5405f7a83076b37209ef56d97eb /french/xtel/Makefile
parent4cd36e32e972e7bd6a22518fe060e657cae2cb51 (diff)
downloadports-0fe76080c6987b1e03f3edc57f8b4722626c8dab.tar.gz
ports-0fe76080c6987b1e03f3edc57f8b4722626c8dab.zip
Notes
Diffstat (limited to 'french/xtel/Makefile')
-rw-r--r--french/xtel/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/french/xtel/Makefile b/french/xtel/Makefile
index 017d5416da10..fb5682b2cd1c 100644
--- a/french/xtel/Makefile
+++ b/french/xtel/Makefile
@@ -41,6 +41,17 @@ post-patch:
find ${WRKSRC} -type f | xargs ${PERL} -pi -e \
"s@#include.*<malloc.h>@#include <stdlib.h>@g"
+pre-configure:
+.if !exists(${PREFIX}/lib/X11/config/host.def)
+ ${CP} ${FILESDIR}/host.def ${PREFIX}/lib/X11/config
+HOST_DEF_INSTALLED_BY_XTEL= yes
+.endif
+
+post-configure:
+.if defined(HOST_DEF_INSTALLED_BY_XTEL)
+ ${RM} ${PREFIX}/lib/X11/config/host.def
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}