View | Details | Raw Unified | Return to bug 58161
Collapse All | Expand All

(-)denemo/Makefile (-8 / +6 lines)
Lines 19-24 Link Here
19
		xml.5:${PORTSDIR}/textproc/libxml
19
		xml.5:${PORTSDIR}/textproc/libxml
20
20
21
USE_GETOPT_LONG=yes
21
USE_GETOPT_LONG=yes
22
USE_REINPLACE=yes
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
23
PLIST=		${WRKDIR}/pkg-plist
24
PLIST=		${WRKDIR}/pkg-plist
24
SHARED=		denemo.conf denemo.keymaprc english.keymaprc french.keymaprc
25
SHARED=		denemo.conf denemo.keymaprc english.keymaprc french.keymaprc
Lines 29-43 Link Here
29
30
30
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
31
32
32
.if ${OSVERSION} >= 500113
33
BROKEN=		"Does not compile"
34
.endif
35
36
pre-patch:
33
pre-patch:
37
.for ii in analysis_highlighting.c main.c playback.c print.c
34
.for i in analysis_highlighting.c playback.c print.c
38
	${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
35
	@${REINPLACE_CMD} -e "s|<wait.h>|<sys/wait.h>|g" ${WRKSRC}/${i}
39
	${SED} -e "s:<wait.h:<sys/wait.h:g" < ${WRKSRC}/${ii}.orig \
36
.endfor
40
		> ${WRKSRC}/${ii}
37
.for i in easylyparser.c easylyparser.y lyparserfuncs.c lyparserfuncs.h
38
	@${REINPLACE_CMD} -e "s|setkey|setekey|g" ${WRKSRC}/${i}
41
.endfor
39
.endfor
42
40
43
pre-install:
41
pre-install:

Return to bug 58161