Lines 29-41
Link Here
|
29 |
|
29 |
|
30 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
31 |
|
31 |
|
32 |
.if ${ARCH} == "amd64" |
|
|
33 |
BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" |
34 |
.endif |
35 |
|
36 |
post-patch: |
32 |
post-patch: |
37 |
@${REINPLACE_CMD} -e \ |
33 |
@${REINPLACE_CMD} -e \ |
38 |
's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp |
34 |
's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp |
|
|
35 |
@${REINPLACE_CMD} -e \ |
36 |
's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in |
39 |
|
37 |
|
40 |
pre-configure: |
38 |
pre-configure: |
41 |
@${CP} ${LTMAIN} ${WRKSRC}/config |
39 |
@${CP} ${LTMAIN} ${WRKSRC}/config |