Lines 24-37
Link Here
|
24 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
25 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
26 |
|
26 |
|
27 |
MAN1= sharpconstruct.1 |
27 |
ONLY_FOR_ARCHS= i386 amd64 |
|
|
28 |
ONLY_FOR_ARCHS_REASON= uses SSE |
28 |
|
29 |
|
29 |
.include <bsd.port.pre.mk> |
30 |
MAN1= sharpconstruct.1 |
30 |
|
31 |
|
31 |
post-patch: |
32 |
post-patch: |
32 |
.if ${ARCH} != "i386" && ${ARCH} != "amd64" |
|
|
33 |
@${REINPLACE_CMD} -e 's|-msse||' ${WRKSRC}/src/Makefile* |
34 |
.endif |
35 |
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh |
33 |
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh |
36 |
@${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc |
34 |
@${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc |
37 |
@${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc |
35 |
@${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc |
Lines 40-43
Link Here
|
40 |
@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ |
38 |
@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ |
41 |
${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' |
39 |
${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' |
42 |
|
40 |
|
43 |
.include <bsd.port.post.mk> |
41 |
.include <bsd.port.mk> |