From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 29 15:00:42 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98D5A16A4D4 for ; Sun, 29 Feb 2004 15:00:42 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8307F43D5E for ; Sun, 29 Feb 2004 15:00:35 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1TN0Zbv039161 for ; Sun, 29 Feb 2004 15:00:35 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1TN0ZSJ039160; Sun, 29 Feb 2004 15:00:35 -0800 (PST) (envelope-from gnats) Date: Sun, 29 Feb 2004 15:00:35 -0800 (PST) Message-Id: <200402292300.i1TN0ZSJ039160@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Brandon D. Valentine" Subject: Re: ports/63545: Today's portupgrade of linux-flashplugin to linux-flashplugin-6.0r79_1 breaks flash for linux-opera on FreeBSD-4.9Stable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Brandon D. Valentine" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 23:00:42 -0000 The following reply was made to PR ports/63545; it has been noted by GNATS. From: "Brandon D. Valentine" To: Jeremy Messenger Cc: freebsd-gnats-submit@FreeBSD.org, stacey@vickiandstacey.com Subject: Re: ports/63545: Today's portupgrade of linux-flashplugin to linux-flashplugin-6.0r79_1 breaks flash for linux-opera on FreeBSD-4.9Stable Date: Sun, 29 Feb 2004 16:50:54 -0600 On Sun, Feb 29, 2004 at 04:34:26PM -0600, Jeremy Messenger wrote: > Actually, you can't do the define PLUGINSDIR because there's no "?" in it. > > PLUGINSDIR?= Hmm, you're right. I will include that change in the patch I am working on. The problem I'm running into is I don't seem to get variable expansion to work inside my conditional. This works: .for f in ${LIBFILES} @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6 .if exists(/usr/local/lib/linux-mozilla/plugins) echo "Hi! I'm inside the if statement!" @${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR} .endif .endfor This doesn't: .for f in ${LIBFILES} @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6 .if exists(${PREFIX}/${PLUGINSDIR}) echo "Hi! I'm inside the if statement!" @${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR} .endif .endfor And I'm not sure why it doesn't work. At any rate, I have a solution and with a bit more testing I'll submit a new patch. Sorry for the inconvenience, Brandon D. Valentine -- brandon@dvalentine.com http://www.geekpunk.net Pseudo-Random Googlism: tejas is mccarley's way of continuing his family's texas traditions