Lines 21-26
Link Here
|
21 |
|
21 |
|
22 |
USE_IMAKE= yes |
22 |
USE_IMAKE= yes |
23 |
USE_XPM= yes |
23 |
USE_XPM= yes |
|
|
24 |
USE_REINPLACE= yes |
24 |
|
25 |
|
25 |
MAN1= xtel.1 xteld.1 |
26 |
MAN1= xtel.1 xteld.1 |
26 |
|
27 |
|
Lines 37-46
Link Here
|
37 |
|
38 |
|
38 |
post-patch: |
39 |
post-patch: |
39 |
.for FILE in ${PATCH_FILES} |
40 |
.for FILE in ${PATCH_FILES} |
40 |
@${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE} |
41 |
${CHMOD} u+w ${WRKSRC}/${FILE} |
|
|
42 |
${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE} |
41 |
.endfor |
43 |
.endfor |
42 |
find ${WRKSRC} -type f | xargs ${PERL} -pi -e \ |
|
|
43 |
"s@#include.*<malloc.h>@#include <stdlib.h>@g" |
44 |
|
44 |
|
45 |
pre-configure: |
45 |
pre-configure: |
46 |
.if !exists(${PREFIX}/lib/X11/config/host.def) |
46 |
.if !exists(${PREFIX}/lib/X11/config/host.def) |