|
Lines 95-107
Link Here
|
| 95 |
|
95 |
|
| 96 |
PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
96 |
PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
| 97 |
PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} |
97 |
PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} |
| 98 |
|
98 |
.include <bsd.port.pre.mk> |
| 99 |
post-patch: |
99 |
post-patch: |
| 100 |
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ |
100 |
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ |
| 101 |
${WRKSRC}/src/daemon/default.pa.in |
101 |
${WRKSRC}/src/daemon/default.pa.in |
| 102 |
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ |
102 |
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ |
| 103 |
${WRKSRC}/configure |
103 |
${WRKSRC}/configure |
| 104 |
|
104 |
post-configure: |
|
|
105 |
.if ${ARCH} == "armv6" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032 |
| 106 |
CFLAGS:=${CFLAGS:C/-ffast-math//} |
| 107 |
CFLAGS+=-ffast-math -fno-unsafe-math-optimizations |
| 108 |
.endif |
| 105 |
post-install: |
109 |
post-install: |
| 106 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse |
110 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse |
| 107 |
.for ii in default.pa daemon.conf client.conf system.pa |
111 |
.for ii in default.pa daemon.conf client.conf system.pa |
|
Lines 112-115
Link Here
|
| 112 |
post-install-BASH-off: |
116 |
post-install-BASH-off: |
| 113 |
@${RM} -r ${STAGEDIR}${PREFIX}/share/bash-completion |
117 |
@${RM} -r ${STAGEDIR}${PREFIX}/share/bash-completion |
| 114 |
|
118 |
|
| 115 |
.include <bsd.port.mk> |
119 |
.include <bsd.port.post.mk> |