diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-06-24 18:45:32 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-06-24 18:45:32 +0000 |
commit | 400fc06331102a45cd3e33e0a8270129bd4bd975 (patch) | |
tree | e3a237a9de3d1939b61b3d69eb66b37c9b519e53 /databases | |
parent | d3af9ca1fe75632d32b0458d650907cdfc12229e (diff) |
Unbreak on -STABLE.
PR: ports/68217
Submitted by: maintainer.
Notes
Notes:
svn path=/head/; revision=112161
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql-libpqxx/Makefile | 9 | ||||
-rw-r--r-- | databases/postgresql-libpqxx/pkg-plist | 2 | ||||
-rw-r--r-- | databases/postgresql-libpqxx3/Makefile | 9 | ||||
-rw-r--r-- | databases/postgresql-libpqxx3/pkg-plist | 2 | ||||
-rw-r--r-- | databases/postgresql-libpqxx30/Makefile | 9 | ||||
-rw-r--r-- | databases/postgresql-libpqxx30/pkg-plist | 2 |
6 files changed, 24 insertions, 9 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile index 356e3870f217..506ae6fb1a4b 100644 --- a/databases/postgresql-libpqxx/Makefile +++ b/databases/postgresql-libpqxx/Makefile @@ -21,6 +21,7 @@ USE_LIBTOOL_VER=15 USE_GMAKE= YES GNU_CONFIGURE= YES INSTALLS_SHLIB= YES +PLIST_SUB= PORTVERSION=${PORTVERSION} CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \ --enable-shared \ @@ -30,8 +31,12 @@ POSTGRESQL_PORT?= databases/postgresql7 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= "<ios> header missing on this platform" +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CXXFLAGS+= -I${LOCALBASE}/include/stlport +LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS} +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif .include <bsd.port.post.mk> diff --git a/databases/postgresql-libpqxx/pkg-plist b/databases/postgresql-libpqxx/pkg-plist index 891965a7093f..4ead03531641 100644 --- a/databases/postgresql-libpqxx/pkg-plist +++ b/databases/postgresql-libpqxx/pkg-plist @@ -67,7 +67,7 @@ include/pqxx/util.h lib/libpqxx.a lib/libpqxx.la lib/libpqxx.so -lib/libpqxx-2.2.3.so +lib/libpqxx-%%PORTVERSION%%.so lib/libdata/pkgconfig/libpqxx.pc @dirrm include/pqxx @unexec rmdir %D/lib/libdata/pkgconfig 2>/dev/null || true diff --git a/databases/postgresql-libpqxx3/Makefile b/databases/postgresql-libpqxx3/Makefile index 356e3870f217..506ae6fb1a4b 100644 --- a/databases/postgresql-libpqxx3/Makefile +++ b/databases/postgresql-libpqxx3/Makefile @@ -21,6 +21,7 @@ USE_LIBTOOL_VER=15 USE_GMAKE= YES GNU_CONFIGURE= YES INSTALLS_SHLIB= YES +PLIST_SUB= PORTVERSION=${PORTVERSION} CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \ --enable-shared \ @@ -30,8 +31,12 @@ POSTGRESQL_PORT?= databases/postgresql7 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= "<ios> header missing on this platform" +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CXXFLAGS+= -I${LOCALBASE}/include/stlport +LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS} +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif .include <bsd.port.post.mk> diff --git a/databases/postgresql-libpqxx3/pkg-plist b/databases/postgresql-libpqxx3/pkg-plist index 891965a7093f..4ead03531641 100644 --- a/databases/postgresql-libpqxx3/pkg-plist +++ b/databases/postgresql-libpqxx3/pkg-plist @@ -67,7 +67,7 @@ include/pqxx/util.h lib/libpqxx.a lib/libpqxx.la lib/libpqxx.so -lib/libpqxx-2.2.3.so +lib/libpqxx-%%PORTVERSION%%.so lib/libdata/pkgconfig/libpqxx.pc @dirrm include/pqxx @unexec rmdir %D/lib/libdata/pkgconfig 2>/dev/null || true diff --git a/databases/postgresql-libpqxx30/Makefile b/databases/postgresql-libpqxx30/Makefile index 356e3870f217..506ae6fb1a4b 100644 --- a/databases/postgresql-libpqxx30/Makefile +++ b/databases/postgresql-libpqxx30/Makefile @@ -21,6 +21,7 @@ USE_LIBTOOL_VER=15 USE_GMAKE= YES GNU_CONFIGURE= YES INSTALLS_SHLIB= YES +PLIST_SUB= PORTVERSION=${PORTVERSION} CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \ --enable-shared \ @@ -30,8 +31,12 @@ POSTGRESQL_PORT?= databases/postgresql7 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= "<ios> header missing on this platform" +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CXXFLAGS+= -I${LOCALBASE}/include/stlport +LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS} +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif .include <bsd.port.post.mk> diff --git a/databases/postgresql-libpqxx30/pkg-plist b/databases/postgresql-libpqxx30/pkg-plist index 891965a7093f..4ead03531641 100644 --- a/databases/postgresql-libpqxx30/pkg-plist +++ b/databases/postgresql-libpqxx30/pkg-plist @@ -67,7 +67,7 @@ include/pqxx/util.h lib/libpqxx.a lib/libpqxx.la lib/libpqxx.so -lib/libpqxx-2.2.3.so +lib/libpqxx-%%PORTVERSION%%.so lib/libdata/pkgconfig/libpqxx.pc @dirrm include/pqxx @unexec rmdir %D/lib/libdata/pkgconfig 2>/dev/null || true |