diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-09-26 17:14:52 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-09-26 17:14:52 +0000 |
commit | bc981ce8716c755a7a6ff6c09aac8cc7b07f31a2 (patch) | |
tree | 3e65a779dcc0962b9ffa96f90a9f842ba5cca243 /www | |
parent | 2cbca012338becd6716da4325a8e67a96a2b267b (diff) |
* 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]
Notes
Notes:
svn path=/head/; revision=143599
Diffstat (limited to 'www')
-rw-r--r-- | www/mplayer-plugin/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
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 |