ports/81333: www/linux-firefox doesn't pick up linux-flashplugin7 via linkfarm

Damian Gerow dgerow at afflictions.org
Sat May 21 13:01:07 UTC 2005


Thus spake Pav Lucistnik (pav at 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
-------------- next part --------------
--- 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 \


More information about the freebsd-ports-bugs mailing list