aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqlcppapi
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-06 01:27:29 +0800
committerpav <pav@FreeBSD.org>2009-01-06 01:27:29 +0800
commit6eb721976122cec5dc4f68d03663c569490e76b2 (patch)
treed35b575ab8f13de2b3da1f0869be1ebae3bad396 /databases/mysqlcppapi
parent3afadc02a311b171583adca2cf5da95a05850c5a (diff)
downloadfreebsd-ports-gnome-6eb721976122cec5dc4f68d03663c569490e76b2.tar.gz
freebsd-ports-gnome-6eb721976122cec5dc4f68d03663c569490e76b2.tar.zst
freebsd-ports-gnome-6eb721976122cec5dc4f68d03663c569490e76b2.zip
- Remove conditional checks relevant only on FreeBSD 5.x and older
Diffstat (limited to 'databases/mysqlcppapi')
-rw-r--r--databases/mysqlcppapi/Makefile15
1 files changed, 3 insertions, 12 deletions
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>