diff options
author | adam <adam> | 2011-05-08 19:29:02 +0000 |
---|---|---|
committer | adam <adam> | 2011-05-08 19:29:02 +0000 |
commit | 870309f0ad45f44df3d18abfda3c0b4144e44c85 (patch) | |
tree | 68e8a256aed9a9284db7c7ad461d3d4ed69792f4 | |
parent | e942d942a58f36ef2be64aeabc8d6fc4ecffb666 (diff) | |
download | pkgsrc-870309f0ad45f44df3d18abfda3c0b4144e44c85.tar.gz |
Adjust installed version auto-detection
-rw-r--r-- | mk/pgsql.buildlink3.mk | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index 409110733b7..d4c29305d09 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.30 2010/10/12 16:44:19 joerg Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.31 2011/05/08 19:29:02 adam Exp $ # # User-settable variables: # @@ -41,25 +41,25 @@ PG_LIB_EXT=so # check what is installed .if ${OPSYS} == "Darwin" -.if exists(${LOCALBASE}/lib/libecpg.6.0.2.dylib) +. if exists(${LOCALBASE}/lib/libecpg.6.2.dylib) _PGSQL_VERSION_90_INSTALLED= yes -.endif -.if exists(${LOCALBASE}/lib/libecpg.6.0.1.dylib) +. endif +. if exists(${LOCALBASE}/lib/libecpg.6.1.dylib) _PGSQL_VERSION_84_INSTALLED= yes -.endif -.if exists(${LOCALBASE}/lib/libecpg.6.0.0.dylib) +. endif +. if exists(${LOCALBASE}/lib/libecpg.6.0.dylib) _PGSQL_VERSION_83_INSTALLED= yes -.endif +. endif .else -.if exists(${LOCALBASE}/lib/libecpg.so.6.0.2) +. if exists(${LOCALBASE}/lib/libecpg.so.6.2) _PGSQL_VERSION_90_INSTALLED= yes -.endif -.if exists(${LOCALBASE}/lib/libecpg.so.6.0.1) +. endif +. if exists(${LOCALBASE}/lib/libecpg.so.6.1) _PGSQL_VERSION_84_INSTALLED= yes -.endif -.if exists(${LOCALBASE}/lib/libecpg.so.6.0.0) +. endif +. if exists(${LOCALBASE}/lib/libecpg.so.6.0) _PGSQL_VERSION_83_INSTALLED= yes -.endif +. endif .endif # if a version is explicitely required, take it |