Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 11:14:18 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        jeh@freebsd.org
Cc:        ports@freebsd.org
Subject:   lang/php4 postgresql dependency
Message-ID:  <20031123111223.P12497@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
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@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031123111223.P12497>