summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-29 01:14:43 +0000
committerlioux <lioux@FreeBSD.org>2002-08-29 01:14:43 +0000
commitec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2 (patch)
treef64cc2cd21c3f901fb6db76b039ffa8abf509b2d /graphics
parent548b9cf56e30cda9bda85ac965bbed81d96e419f (diff)
downloadFreeBSD-ports-ec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2.zip
FreeBSD-ports-ec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2.tar.gz
o Style changes in Makefile
o Improve the patch o USE_GNOMENG o No PORTREVISION bump since there were no functional changes Submitted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xmms-fishmatic/Makefile19
-rw-r--r--graphics/xmms-fishmatic/files/patch-configure9
2 files changed, 11 insertions, 17 deletions
diff --git a/graphics/xmms-fishmatic/Makefile b/graphics/xmms-fishmatic/Makefile
index 5967d07..23eb8c9 100644
--- a/graphics/xmms-fishmatic/Makefile
+++ b/graphics/xmms-fishmatic/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
#
-PORTNAME= fishmatic
+PORTNAME= xmms-fishmatic
PORTVERSION= 0.0.1
CATEGORIES= graphics
MASTER_SITES= http://stukach.com/hosted/
-PKGNAMEPREFIX= xmms-
DISTNAME= fishmatic
MAINTAINER= dyeske@yahoo.com
@@ -17,18 +16,22 @@ MAINTAINER= dyeske@yahoo.com
BUILD_DEPENDS= xmms-config:${PORTSDIR}/audio/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/audio/xmms
-INSTALLS_SHLIB= yes
-USE_LIBTOOL= yes
+USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
USE_GMAKE= yes
-USE_GTK= yes
USE_MESA= yes
-USE_X_PREFIX= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LIBS="-lGL -lXext ${LIBS}"
CFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib
post-patch:
@${RM} -f ${WRKSRC}/config.cache
- @${PERL} -pi -e 's@glib-config@${GLIB_CONFIG}@g;' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/graphics/xmms-fishmatic/files/patch-configure b/graphics/xmms-fishmatic/files/patch-configure
index b3c7d96..346c63b 100644
--- a/graphics/xmms-fishmatic/files/patch-configure
+++ b/graphics/xmms-fishmatic/files/patch-configure
@@ -11,15 +11,6 @@ $FreeBSD$
{ (eval echo configure:3248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
-@@ -3275,7 +3275,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lGL $LIBS"
-+LIBS="-lGL $PTHREAD_LIBS -lX11 -lXext $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 3281 "configure"
- #include "confdefs.h"
@@ -3364,7 +3364,7 @@
#include "confdefs.h"
#include <GL/glx.h>
OpenPOWER on IntegriCloud