From bc981ce8716c755a7a6ff6c09aac8cc7b07f31a2 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 26 Sep 2005 17:14:52 +0000 Subject: * Respect ${GMAKE} to fix a build problem on FreeBSD 4.X [1] * Make sure we look in ${LOCALBASE} for headers and libs to get i18n support working PR: 86575 [1] --- www/mplayer-plugin/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile index 4686c017302c..1b44b854cb7c 100644 --- a/www/mplayer-plugin/Makefile +++ b/www/mplayer-plugin/Makefile @@ -7,6 +7,7 @@ PORTNAME= mplayerplug-in PORTVERSION= 3.11 +PORTREVISION= 1 CATEGORIES= www multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mplayerplug-in @@ -33,8 +34,8 @@ PLUGINSFILES= mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \ mplayerplug-in-qt.so mplayerplug-in-rm.so mplayerplug-in-gmp.so GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -DBSD" \ - LDFLAGS="-L${X11BASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -DBSD" \ + LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" .if !defined(WITH_MOZILLA) HEADERS_SUFX= @@ -70,7 +71,8 @@ pre-everything:: @${ECHO_MSG} "" post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|make|${GMAKE}|g' \ ${WRKSRC}/Makefile.in .if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox" @${REINPLACE_CMD} -e 's|mozilla-|firefox-|g' ${WRKSRC}/configure -- cgit v1.2.3