diff -ruN --exclude=CVS /usr/ports/databases/libgda2/Makefile /fileserver/ports/databases/libgda2/Makefile --- /usr/ports/databases/libgda2/Makefile Thu Jan 11 03:32:12 2007 +++ /fileserver/ports/databases/libgda2/Makefile Sun Jan 14 11:46:03 2007 @@ -21,6 +21,8 @@ USE_BZIP2= yes +NOMANCOMPRESS= yes + .if !defined(REFERENCE_PORT) BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper @@ -36,7 +38,10 @@ INSTALLS_OMF= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-bdb + +CONFIGURE_ARGS= --without-bdb +CONFIGURE_ARGS+=--mandir=${LOCALBASE}/man + CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib -lintl" @@ -57,34 +62,38 @@ WITH_MYSQL= yes .endif -.if exists(${LOCALBASE}/lib/libldap.so.2) +.if exists(${LOCALBASE}/lib/libldap.so) WITH_LDAP=yes .endif -.if exists(${LOCALBASE}/lib/libgds.so.1) +.if exists(${LOCALBASE}/lib/libgds.so) WITH_FIREBIRD= yes .endif -.if exists(${LOCALBASE}/lib/libtds.so.2) +.if exists(${LOCALBASE}/lib/libtds.so) WITH_FREETDS= yes .endif -.if exists(${LOCALBASE}/lib/libsybdb.so.3) +.if exists(${LOCALBASE}/lib/libsybdb.so) WITH_SYBASE= yes .endif -.if exists(${LOCALBASE}/lib/libmdbsql.so.0) +.if exists(${LOCALBASE}/lib/libmdbsql.so) WITH_MDB= yes .endif -.if exists(${LOCALBASE}/lib/libODBC.so.1) +.if exists(${LOCALBASE}/lib/libodbc.so) WITH_ODBC= yes .endif -.if exists(${LOCALBASE}/lib/libsqlite3.so.8) +.if exists(${LOCALBASE}/lib/libsqlite3.so) WITH_SQLITE= yes .endif +.if exists(${LOCALBASE}/lib/libpq.so) +WITH_PGSQL= yes +.endif + .if !defined(WITH_MYSQL) PLIST_SUB+= MYSQL:="@comment " CONFIGURE_ARGS+= --without-mysql @@ -192,6 +201,6 @@ @${ECHO_MSG} "You can enable support for SQLITE databases by defining WITH_SQLITE." .endif -.include <bsd.port.post.mk> - .endif + +.include <bsd.port.post.mk>