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

(-)Makefile (-2 / +2 lines)
Lines 14-21 Link Here
14
LICENSE=	LGPL20
14
LICENSE=	LGPL20
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
BROKEN_powerpc64=	fails to compile: fltk_wrap.cpp:5355: \#pragma GCC diagnostic not allowed inside functions
18
19
LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk
17
LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk
20
18
21
CFLAGS+=	-DFL_LIBRARY
19
CFLAGS+=	-DFL_LIBRARY
Lines 34-39 Link Here
34
32
35
post-patch:
33
post-patch:
36
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
34
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
35
	@${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \
36
		${WRKSRC}/python/fltk_wrap.cpp
37
37
38
post-build:
38
post-build:
39
	${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/fltk/test/help.py
39
	${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/fltk/test/help.py

Return to bug 235989