From 6eb721976122cec5dc4f68d03663c569490e76b2 Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 5 Jan 2009 17:27:29 +0000 Subject: - Remove conditional checks relevant only on FreeBSD 5.x and older --- databases/mysqlcppapi/Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'databases/mysqlcppapi') diff --git a/databases/mysqlcppapi/Makefile b/databases/mysqlcppapi/Makefile index 1c2c22d9d7f7..312d9837286b 100644 --- a/databases/mysqlcppapi/Makefile +++ b/databases/mysqlcppapi/Makefile @@ -20,17 +20,8 @@ USE_MYSQL= yes USE_GNOME= pkgconfig gnomehack GNU_CONFIGURE= yes -.include - -.if ${OSVERSION} < 500035 -BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport -RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \ - LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}" -.else -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.endif CONFIGURE_ARGS= --with-mysql=${LOCALBASE} USE_LDCONFIG= yes @@ -38,7 +29,7 @@ post-patch: ${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \ ${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in ${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \ - -exec ${REINPLACE_CMD} -e \ + -exec ${REINPLACE_CMD} -e \ '/^library_includedir =/s,\$$(GENERIC_LIBRARY_NAME)-2.0/,,g' '{}' \; -.include +.include -- cgit