ports/63545: Today's portupgrade of linux-flashplugin to linux-flashplugin-6.0r79_1 breaks flash for linux-opera on FreeBSD-4.9Stable

Brandon D. Valentine ports at brandon.dvalentine.com
Mon Mar 1 00:00:32 UTC 2004


On Sun, Feb 29, 2004 at 06:14:09PM -0500, Joe Marcus Clarke wrote:
> On Sun, 2004-02-29 at 18:09, Joe Marcus Clarke wrote:
> > Convert this make conditional into a shell script conditional, and it
> > will work:
> > 
> > 	@for f in ${LIBFILES}; do \
> > 		${INSTALL_DATA} ${WRKSRC}/$${f} \ 			${PREFIX}/lib/linux-flashplugin6;
> > \
> > 		if [ -d ${PREFIX}/${PLUGINSDIR} ]; then \
> > 			echo "Hi! I'm inside the if statement!"; \
> > 			${LN} -sf \ 				${PREFIX}/lib/linux-flashplugin6/$${f}; \
> > 		fi; \
> > 	done
> > 
> > You never want to use exists on a directory anyway.
> 
> I forgot to add, you will want to also do:
> 
> .include <bsd.port.pre.mk>
> 
> Before your targets so that variable expansion works as expected.

Thank you, Joe.  That makes much more sense to me.  FWIW, there are
several different places in bsd.port.mk which use exists on a directory.
I'm on my way out the door, but a patch will be forthcoming as soon as I
get home tonight.

Brandon D. Valentine
-- 
brandon at dvalentine.com                           http://www.geekpunk.net
Pseudo-Random Googlism:  necco is committed to manufacturing the same
                         quality candy first manufactured 



More information about the freebsd-ports-bugs mailing list