Lines 21-26
Link Here
|
21 |
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ " |
21 |
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ " |
22 |
INSTALLS_SHLIB= yes |
22 |
INSTALLS_SHLIB= yes |
23 |
|
23 |
|
|
|
24 |
.include <bsd.port.pre.mk> |
25 |
.if ${OSVERSION} >= 500035 |
26 |
PATCHFILES= mysql++-gcc-3.0.patch.gz \ |
27 |
mysql++-gcc-3.2.patch.gz |
28 |
PATCH_SITES= ${MASTER_SITES} |
29 |
PATCH_DIST_STRIP=-p1 |
30 |
.endif |
31 |
|
24 |
pre-configure: |
32 |
pre-configure: |
25 |
${RM} ${WRKSRC}/examples/Makefile.in |
33 |
${RM} ${WRKSRC}/examples/Makefile.in |
26 |
${ECHO} "all:" >${WRKSRC}/examples/Makefile.in |
34 |
${ECHO} "all:" >${WRKSRC}/examples/Makefile.in |
Lines 40-43
Link Here
|
40 |
${INSTALL_DATA} mysql++ defs undef_short define_short *.hh ${PREFIX}/include/mysql) |
48 |
${INSTALL_DATA} mysql++ defs undef_short define_short *.hh ${PREFIX}/include/mysql) |
41 |
@${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/mysql++ |
49 |
@${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/mysql++ |
42 |
|
50 |
|
43 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.post.mk> |