Date: Tue, 30 Sep 2003 22:20:18 -0700 (PDT) From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/55507: lang/php4 compiles with unexcpected libs Message-ID: <200310010520.h915KI0j016597@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/55507; it has been noted by GNATS. From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/55507: lang/php4 compiles with unexcpected libs Date: Wed, 01 Oct 2003 07:08:08 +0200 Updated PATCH: - set WITH_* flags from PHP4_OPTIONS. - make BATCH=yes workin again for non default options - removes ugly "ifmake describe" - new sub-options to force dependencies explicit WITH_SNMP4 Index: Makefile =================================================================== RCS file: /home/pcvs/ports/lang/php4/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- Makefile 30 Sep 2003 11:50:25 -0000 1.28 +++ Makefile 1 Oct 2003 05:05:18 -0000 @@ -189,8 +189,11 @@ .for opt in ${PHP4_OPTIONS} .if !defined(WITHOUT_${opt}) SEL_OPTIONS+= ${opt} -.endif SCRIPTS_ENV+= WITH_${opt}=ON +.if !exists(${WRKDIR}/Makefile.inc) +WITH_${opt}=yes +.endif +.endif .endfor SCRIPTS_ENV+= SEL_OPTIONS="${SEL_OPTIONS}" \ @@ -199,11 +202,6 @@ CAT="${CAT}" \ SED="${SED}" -.ifmake describe -WITH_MYSQL= yes -WITH_XML= yes -.endif - .if exists(${WRKDIR}/Makefile.inc) .include "${WRKDIR}/Makefile.inc" .endif @@ -502,8 +500,8 @@ CONFIGURE_ARGS+=--enable-shmop .endif -.if defined(WITH_SNMP) -.if exists(${LOCALBASE}/lib/libsnmp.so.4) +.if defined(WITH_SNMP) || defined(WITH_SNMP4) +.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4) LIB_DEPENDS+= snmp.4:${PORTSDIR}/net/net-snmp4 .else LIB_DEPENDS+= netsnmp.5:${PORTSDIR}/net/net-snmp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310010520.h915KI0j016597>