lang/php4 postgresql dependency

Dmitry Morozovsky marck at rinet.ru
Sun Nov 23 00:14:21 PST 2003


Dear James,

don't you think floating dependency would be better? Like

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/php4/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile    20 Nov 2003 11:07:33 -0000      1.38
+++ Makefile    23 Nov 2003 08:11:57 -0000
@@ -427,7 +427,8 @@
 .endif

 .if defined(WITH_POSTGRESQL)
-LIB_DEPENDS+=  pq.3:${PORTSDIR}/databases/postgresql7-client
+POSTGRESQL_PORT?=databases/postgresql7-client
+LIB_DEPENDS+=  pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
 CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
 .endif



Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-ports mailing list