mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
copy a default temporary host.def if you do not have one
PR: 33396 Submitted by: maintainer
This commit is contained in:
parent
4cd36e32e9
commit
0fe76080c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52468
2 changed files with 20 additions and 0 deletions
|
@ -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}
|
||||
|
|
9
french/xtel/files/host.def
Normal file
9
french/xtel/files/host.def
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue