3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
17 lines
377 B
Text
17 lines
377 B
Text
SHLIB_NAME= libqsql${DB}.so
|
|
|
|
VPATH= ${PLUGIN}:${DRIVER}
|
|
CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
|
|
-I${LOCALBASE}/include \
|
|
${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
|
|
LDADD= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lsqlite
|
|
SRCS= qsql_${DB}.cpp smain.cpp
|
|
|
|
LIBDIR= ${PREFIX}/lib/plugins/sqldrivers
|
|
|
|
${LIBDIR}:
|
|
mkdir -p ${LIBDIR}
|
|
|
|
beforeinstall: ${LIBDIR}
|
|
|
|
.include <bsd.lib.mk>
|