Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 10:36:34 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/148232: There is some junk in Mk/bsd.octave.mk
Message-ID:  <201006291536.o5TFaY6F029965@wilberforce.math.missouri.edu>
Resent-Message-ID: <201006291540.o5TFe5Ia094657@freefall.freebsd.org>

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

>Number:         148232
>Category:       ports
>Synopsis:       There is some junk in Mk/bsd.octave.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 15:40:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 7.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD wilberforce 7.3-STABLE FreeBSD 7.3-STABLE #0: Fri May 28 18:26:27 CDT 2010 stephen@wilberforce:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
At the end of Mk/bsd.octave.mk, I originally had placed some code whose purpose was to automatically check dependencies.  With updates to octave forge, I begin to doubt that it still works, and anyway, maybe putting this here isn't the right place for it.

This is extremely low priority in that removing this stuff will not change the workings of the octave forge ports in any way.
	
>How-To-Repeat:
	
>Fix:

	
--- bsd.octave.mk-copy	2010-06-29 10:23:56.000000000 -0500
+++ bsd.octave.mk	2010-06-29 10:24:14.000000000 -0500
@@ -43,18 +43,3 @@
 	@${ECHO_CMD} "share/octave/tarballs/${OCTAVE_PKGNAME}.tar.gz" >> ${TMPPLIST}
 	@${ECHO_CMD} "@unexec octave -H -q --no-site-file --eval \"pkg('uninstall','${OCTAVE_PKGNAME}')\" > /dev/null" >> ${TMPPLIST}
 	@if [ -e ${.CURDIR}/pkg-message ]; then ${CAT} ${.CURDIR}/pkg-message; fi
-
-check-octave-forge-depends:	extract
-	@listd=`${PERL} -lne '$$_=lc($$_);if (s/^depends://){s/\(.*?\)//g;s/\s*\,\s*/ /g;s/octave//g;print}' < ${WRKSRC}/DESCRIPTION`; \
-	listm=`${PERL} -lne 'if (/RUN_DEPENDS\+=\t..TARBALLS_DIR.\/(.*)\.tar\.gz/){print$$1}' < ${.CURDIR}/Makefile`; \
-	for i in $$listd; do \
-		if !(${ECHO_CMD} $$listm|${GREP} $$i > /dev/null); then \
-			${ECHO_MSG} "octave-forge-${OCTAVE_PKGNAME} is missing dependency octave-forge-$$i"; \
-		fi; \
-	done; \
-	for i in $$listm; do \
-		if !(${ECHO_CMD} $$listd|${GREP} $$i > /dev/null); then \
-			${ECHO_MSG} "octave-forge-${OCTAVE_PKGNAME} has unnecessary dependency octave-forge-$$i"; \
-		fi; \
-	done; \
-


>Release-Note:
>Audit-Trail:
>Unformatted:



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