Lines 71-79
Link Here
|
71 |
CFLAGS+= ${PTHREAD_CFLAGS} |
71 |
CFLAGS+= ${PTHREAD_CFLAGS} |
72 |
.endif |
72 |
.endif |
73 |
|
73 |
|
74 |
.if ${OSVERSION} >= 700000 |
|
|
75 |
USE_GCC= 3.4 |
76 |
.endif |
77 |
.if defined(BUILD_OPTIMIZED) |
74 |
.if defined(BUILD_OPTIMIZED) |
78 |
CFLAGS+= -O3 -fno-omit-frame-pointer -fno-gcse |
75 |
CFLAGS+= -O3 -fno-omit-frame-pointer -fno-gcse |
79 |
.endif |
76 |
.endif |
Lines 121-126
Link Here
|
121 |
.if defined(WITH_PROC_SCOPE_PTH) |
118 |
.if defined(WITH_PROC_SCOPE_PTH) |
122 |
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/libmysqld/lib_sql.cc ${WRKSRC}/sql/mysqld.cc |
119 |
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/libmysqld/lib_sql.cc ${WRKSRC}/sql/mysqld.cc |
123 |
.endif |
120 |
.endif |
|
|
121 |
@${REINPLACE_CMD} -e 's|\&\& defined(__GNUC__)|\&\& defined(__GNUC__) \&\& 0|' \ |
122 |
${WRKSRC}/include/my_global.h |
124 |
|
123 |
|
125 |
post-install: |
124 |
post-install: |
126 |
.if !defined(PACKAGE_BUILDING) |
125 |
.if !defined(PACKAGE_BUILDING) |
Lines 148-153
Link Here
|
148 |
.if defined(WITH_PROC_SCOPE_PTH) |
147 |
.if defined(WITH_PROC_SCOPE_PTH) |
149 |
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c |
148 |
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c |
150 |
.endif |
149 |
.endif |
|
|
150 |
@${REINPLACE_CMD} -e 's|\&\& defined(__GNUC__)|\&\& defined(__GNUC__) \&\& 0|' \ |
151 |
${WRKSRC}/include/my_global.h |
151 |
|
152 |
|
152 |
.else |
153 |
.else |
153 |
# MySQL-Scripts part |
154 |
# MySQL-Scripts part |