Hi,

Below is a patch for databases/py-pygresql, pkg-info -S vs make
print-package-signature, didn't match, causing unnecessary rebuild when
using dpb -R. make port-lib-depends-check/lib-depends-check failed as
missing MODPY_WANTLIB and the LIB_DEPENDS is redundant causing a
duplicate dependency on postgresql-client.

Please update the port.

Besides the simplest option removing LIB_DEPENDS, the other options are
LIB_DEPENDS could be changed to databases/postgresql,-main matching the
RUN_DEPENDS, or recognise these depend's are effectively the same when
creating and reduce to the first only
@depend
databases/postgresql,-main:postgresql-client-*:postgresql-client-9.0.4
@depend databases/postgresql:postgresql-client-*:postgresql-client-9.0.4


Regards

Nigel Taylor

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/databases/py-pygresql/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    8 Jun 2011 17:33:59 -0000       1.9
+++ Makefile    12 Jun 2011 09:59:56 -0000
@@ -19,8 +19,7 @@ PERMIT_DISTFILES_CDROM =Yes
 PERMIT_DISTFILES_FTP = Yes

 MODULES =      lang/python
-LIB_DEPENDS =  databases/postgresql
-WANTLIB +=     pq>=5
+WANTLIB +=     pq>=5 ${MODPY_WANTLIB}
 BUILD_DEPENDS =        databases/postgresql,-server
 RUN_DEPENDS =  databases/postgresql,-main


Reply via email to