diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-01 14:10:16 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-01 14:10:16 +0000 |
commit | 0fe76080c6987b1e03f3edc57f8b4722626c8dab (patch) | |
tree | 535a183412baf5405f7a83076b37209ef56d97eb /french/xtel | |
parent | Fix build if ${PORTSDIR} is a symlink by finding jpeg's WRKSRC properly. (diff) |
copy a default temporary host.def if you do not have one
PR: 33396
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=52468
Diffstat (limited to 'french/xtel')
-rw-r--r-- | french/xtel/Makefile | 11 | ||||
-rw-r--r-- | french/xtel/files/host.def | 9 |
2 files changed, 20 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} diff --git a/french/xtel/files/host.def b/french/xtel/files/host.def new file mode 100644 index 000000000000..f8a38459fe01 --- /dev/null +++ b/french/xtel/files/host.def @@ -0,0 +1,9 @@ +/* + * Host.def for building FreeBSD bindists + * + * $XFree86: xc/programs/Xserver/hw/xfree86/etc/bindist/FreeBSD/host.def,v 1.3.4.1 2001/05/31 22:20:27 dawes Exp $ + */ + +#define InstallEmptyHostDef +#define BuildBindist + |