Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 23:17:47 -0800
From:      Pascal Hofstee <caelian@gmail.com>
To:        gnome@freebsd.org
Subject:   bsd.port.mk (at least in MC-gnome) breaks package dependency registration
Message-ID:  <1140765467.825.3.camel@synergy.odyssey.homeunix.org>

next in thread | raw e-mail | index | archive | help

--=-0dI43UhZmyL+G6ab/Ip2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

With the recent reverting of the PERL_BUILD/RUN_DEPENDS mechanism it
looks like somebody removed a single " too much from bsd.port.mk which
in turn is causing Syntax error: Unterminated quoted string errors
during package registration.

Attached is a patch for bsd.port.mk which puts this " back in place
which should hopefully restore package registration. It looks like i am
forced to uninstall reinstall all my ports now since i only noticed the
breakage halfway through a rather involved portupgrade cycle. So my
package dependency information in /var/db/pkg is shot.

-- 
  Pascal Hofstee


--=-0dI43UhZmyL+G6ab/Ip2
Content-Disposition: attachment; filename=patch-bsd.port.mk
Content-Type: text/plain; name=patch-bsd.port.mk; charset=us-ascii
Content-Transfer-Encoding: 7bit

--- bsd.port.mk.orig	Thu Feb 23 23:11:32 2006
+++ bsd.port.mk	Thu Feb 23 23:11:48 2006
@@ -4690,7 +4690,7 @@
 .endif
 
 BUILD-DEPENDS-LIST= \
-	for dir in $$(${ECHO_CMD} "${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} | ${TR} '\040' '\012' | ${SED} -e 's/^[^:]*://' -e 's/:.*//' | ${SORT} -u) $$(${ECHO_CMD} ${DEPENDS} | ${TR} '\040' '\012' | ${SED} -e 's/:.*//' | ${SORT} -u); do \
+	for dir in $$(${ECHO_CMD} "${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${TR} '\040' '\012' | ${SED} -e 's/^[^:]*://' -e 's/:.*//' | ${SORT} -u) $$(${ECHO_CMD} ${DEPENDS} | ${TR} '\040' '\012' | ${SED} -e 's/:.*//' | ${SORT} -u); do \
 		if [ -d $$dir ]; then \
 			${ECHO_CMD} $$dir; \
 		else \

--=-0dI43UhZmyL+G6ab/Ip2--




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