Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 09:00:58 -0400
From:      Damian Gerow <dgerow@afflictions.org>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/81333: www/linux-firefox doesn't pick up linux-flashplugin7 via linkfarm
Message-ID:  <20050521130058.GJ52914@afflictions.org>
In-Reply-To: <200505211145.j4LBjZMV052143@freefall.freebsd.org>
References:  <200505211145.j4LBjZMV052143@freefall.freebsd.org>

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

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Thus spake Pav Lucistnik (pav@FreeBSD.org) [21/05/05 07:46]:
: linkfarm file is generated from port Makefile, so can you please provide
: patch for port Makefile?

Try the attached patch instead.

: Also, I'm not sure if deleting all symlinks is desirable, what if someone
: makes a symlink by hand there?

The patch only deletes hanging symlinks: I figured that since the symlinks
weren't actually pointing anywhere, they wouldn't be missed.

  - Damian

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Description: www/linux-firefox patch to linkfarm
Content-Disposition: attachment; filename=asdf

--- Makefile.orig	Sat May 21 01:18:28 2005
+++ Makefile	Sat May 21 08:57:59 2005
@@ -27,7 +27,7 @@
 
 NO_BUILD=      yes
 NO_FILTER_SHLIBS=yes
-ONLY_FOR_ARCHS=i386
+ONLY_FOR_ARCHS=amd64 i386
 FIREFOX_NAME=  ${PKGNAMEPREFIX}${PORTNAME}
 DESCR=         ${.CURDIR}/pkg-descr
 MD5_FILE=      ${.CURDIR}/distinfo
@@ -45,6 +45,9 @@
 		>>${WRKDIR}/linkfarm
 	${ECHO_CMD} "cd ${PREFIX}/lib/${FIREFOX_NAME}/plugins" \
 		>>${WRKDIR}/linkfarm
+	${ECHO_CMD} "${FIND} -L . -type l -delete" \
+		>>${WRKDIR}/linkfarm
+
 .for ii in \
 	lib/linux-beonex/plugins \
 	lib/netscape-linux/plugins \

--tKW2IUtsqtDRztdT--



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