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

(-)Makefile (-2 / +3 lines)
Lines 25-39 Link Here
25
PORTDOCS=	COPYING ChangeLog INSTALL README TODO
25
PORTDOCS=	COPYING ChangeLog INSTALL README TODO
26
MAN1=		y4mscaler.1
26
MAN1=		y4mscaler.1
27
PLIST_FILES=	bin/y4mscaler
27
PLIST_FILES=	bin/y4mscaler
28
MAKE_ENV=	CXX="${CXX}"
28
29
29
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
30
31
31
post-patch:
32
post-patch:
32
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
33
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
33
		${WRKSRC}/Makefile
34
		${WRKSRC}/Makefile
34
	@${REINPLACE_CMD} -e 's|-march=i686 -mcpu=i686|${CFLAGS}|' \
35
		${WRKSRC}/Makefile
36
	@${REINPLACE_CMD} -e 's|COPT = -O2|#|' \
35
	@${REINPLACE_CMD} -e 's|COPT = -O2|#|' \
36
		${WRKSRC}/Makefile
37
	@${REINPLACE_CMD} -e 's|CXXFLAGS =|CXXFLAGS = ${CXXFLAGS} |' \
37
		${WRKSRC}/Makefile
38
		${WRKSRC}/Makefile
38
.if ${OSVERSION} < 500000
39
.if ${OSVERSION} < 500000
39
	@${REINPLACE_CMD} -e 's|#define HAVE_STDINT_H 1|#undef HAVE_STDINT_H 1|' \
40
	@${REINPLACE_CMD} -e 's|#define HAVE_STDINT_H 1|#undef HAVE_STDINT_H 1|' \

Return to bug 65017