1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-08-29 01:14:43 +00:00
parent 23d6fa02d1
commit 1fe61b3507
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65200
2 changed files with 11 additions and 17 deletions

View File

@ -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>

View File

@ -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>