diff options
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index b05a22b3267..e8fe347f594 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1407,6 +1407,18 @@ USES+= mate USES+=bdb:${USE_BDB} .endif +.if defined(USE_MYSQL) +USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} +.if defined(WANT_MYSQL_VER) +.if empty(USE_MYSQL) +USE_MYSQL:=${WANT_MYSQL_VER} +.else +USE_MYSQL:=${USE_MYSQL},${WANT_MYSQL_VER} +.endif +.endif +USES+=mysql:${USE_MYSQL} +.endif + .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif @@ -1867,10 +1879,6 @@ _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \ .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif -.if defined(USE_MYSQL) || defined(WANT_MYSQL_VER) -.include "${PORTSDIR}/Mk/bsd.database.mk" -.endif - .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif |