diff --git a/net/pmacct/Makefile b/net/pmacct/Makefile index b694f4b6e0e..5bd795cb6c7 100644 --- a/net/pmacct/Makefile +++ b/net/pmacct/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2012/04/23 17:15:18 espie Exp $ +# $OpenBSD: Makefile,v 1.13 2012/04/26 06:33:15 espie Exp $ COMMENT= IP accounting software @@ -23,7 +23,7 @@ CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --enable-64bit \ --enable-ipv6 \ --enable-sqlite3 \ - --with-sqlite3-includes="${LOCALBASE}/include" \ + --with-sqlite3-includes="/usr/include" \ ac_cv_prog_MAKE="/usr/bin/make" .ifdef DEBUG MAKE_ARGS+= DEBUG=1 @@ -32,7 +32,7 @@ MAKE_ARGS+= DEBUG=1 FLAVORS= mysql postgresql threads FLAVOR?= -.if ${FLAVOR:L:Mpostgresql} +.if ${FLAVOR:Mpostgresql} LIB_DEPENDS+= databases/postgresql WANTLIB += pq>=2 CONFIGURE_ARGS+= --enable-pgsql \ @@ -41,7 +41,7 @@ CONFIGURE_ARGS+= --enable-pgsql \ CONFIGURE_ARGS+= --disable-pgsql .endif -.if ${FLAVOR:L:Mmysql} +.if ${FLAVOR:Mmysql} LIB_DEPENDS+= databases/mysql WANTLIB += lib/mysql/mysqlclient>=10 CONFIGURE_ARGS+= --enable-mysql @@ -49,7 +49,7 @@ CONFIGURE_ARGS+= --enable-mysql CONFIGURE_ARGS+= --disable-mysql .endif -.if ${FLAVOR:L:Mthreads} +.if ${FLAVOR:Mthreads} WANTLIB += pthread CONFIGURE_ARGS+= --enable-threads .else