Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME?= mysql |
8 |
PORTNAME?= mysql |
9 |
PORTVERSION= 4.0.14 |
9 |
PORTVERSION= 4.0.15 |
10 |
PORTREVISION?= 0 |
10 |
PORTREVISION?= 0 |
11 |
CATEGORIES= databases |
11 |
CATEGORIES= databases |
12 |
MASTER_SITES= ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.0/ \ |
12 |
MASTER_SITES= ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.0/ \ |
Lines 124-131
Link Here
|
124 |
@${ECHO} "" |
124 |
@${ECHO} "" |
125 |
|
125 |
|
126 |
post-patch: |
126 |
post-patch: |
127 |
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_server_dirs@ scripts support-files|g" ${WRKSRC}/Makefile.in |
127 |
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_server_dirs@ scripts support-files|g" ${WRKSRC}/Makefile.in |
128 |
@${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in |
128 |
@${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in |
129 |
|
129 |
|
130 |
.if defined(WITH_OPENSSL) && defined(BUILD_STATIC) |
130 |
.if defined(WITH_OPENSSL) && defined(BUILD_STATIC) |
131 |
pre-configure: |
131 |
pre-configure: |
Lines 135-144
Link Here
|
135 |
|
135 |
|
136 |
post-install: |
136 |
post-install: |
137 |
.if !defined(PACKAGE_BUILDING) |
137 |
.if !defined(PACKAGE_BUILDING) |
138 |
.if exists(${DB_DIR}) && defined(OVERWRITE_DB) |
138 |
.if exists(${DB_DIR}) && defined(OVERWRITE_DB) && ${OVERWRITE_DB} != "no" |
139 |
@${RM} -r ${DB_DIR}/mysql ${DB_DIR}/test 2>/dev/null || true |
139 |
@${RM} -r ${DB_DIR}/mysql ${DB_DIR}/test 2>/dev/null || true |
140 |
.endif |
140 |
.endif |
141 |
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB) |
141 |
.if !exists(${DB_DIR}) || (defined(OVERWRITE_DB) && ${OVERWRITE_DB} != "no") |
142 |
.if defined(SKIP_DNS_CHECK) |
142 |
.if defined(SKIP_DNS_CHECK) |
143 |
${PREFIX}/bin/mysql_install_db --force |
143 |
${PREFIX}/bin/mysql_install_db --force |
144 |
.else |
144 |
.else |
Lines 171-177
Link Here
|
171 |
CONFIGURE_ARGS+=--without-server |
171 |
CONFIGURE_ARGS+=--without-server |
172 |
|
172 |
|
173 |
post-patch: |
173 |
post-patch: |
174 |
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests man|g" ${WRKSRC}/Makefile.in |
174 |
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests man|g" ${WRKSRC}/Makefile.in |
175 |
|
175 |
|
176 |
post-install: |
176 |
post-install: |
177 |
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh |
177 |
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh |