View | Details | Raw Unified | Return to bug 185337
Collapse All | Expand All

(-)graphics/xmms-fishmatic/Makefile (-15 / +21 lines)
Lines 11-37 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	XMMS non-static OpenGL stereogram visualization plugin
12
COMMENT=	XMMS non-static OpenGL stereogram visualization plugin
13
13
14
BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
14
BUILD_DEPENDS=	xmms>0:${PORTSDIR}/multimedia/xmms
15
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
15
RUN_DEPENDS=	xmms>0:${PORTSDIR}/multimedia/xmms
16
16
17
PLIST_FILES=	lib/xmms/Visualization/libfishmatic.so
18
USE_GNOME=      gtk12
19
USES=		gmake pkgconfig
17
USES=		gmake pkgconfig
20
GNU_CONFIGURE=  yes
21
USE_GL=		glut
22
USE_XORG=	xext
18
USE_XORG=	xext
23
USE_LDCONFIG=	yes
19
USE_GNOME=      gtk12
20
USE_GL=		glut
21
USE_AUTOTOOLS=	libtool
24
22
25
CONFIGURE_ENV=	LIBS="-lGL -lXext ${LIBS}"
23
CPPFLAGS+=	-I${LOCALBASE}/include
26
CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
25
26
PLIST_FILES=	lib/xmms/Visualization/libfishmatic.so
27
27
28
NO_STAGE=	yes
29
post-patch:
28
post-patch:
29
	@${REINPLACE_CMD} -e \
30
		's|"-lpthread|"-pthread|' ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e \
32
		's|-O2|| ; \
33
		 s|@PNG_LIBS@||' ${WRKSRC}/Makefile.in
34
35
pre-configure:
30
	@${RM} -f ${WRKSRC}/config.cache
36
	@${RM} -f ${WRKSRC}/config.cache
31
	@${REINPLACE_CMD} -e 's|-O2||; \
37
32
		s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
38
do-install:
33
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
39
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization
34
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile.in
40
	(cd ${WRKSRC}/.libs && ${INSTALL_LIB} libfishmatic.so \
35
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
41
		${STAGEDIR}${PREFIX}/lib/xmms/Visualization)
36
42
37
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)graphics/xmms-fishmatic/files/patch-configure (-22 lines)
Lines 1-22 Link Here
1
$FreeBSD: head/graphics/xmms-fishmatic/files/patch-configure 300896 2012-07-14 13:54:48Z beat $
2
3
--- configure.orig	Sun Aug 12 19:11:07 2001
4
+++ configure	Thu Dec 27 00:05:42 2001
5
@@ -3243,7 +3243,7 @@
6
 #include "confdefs.h"
7
 #include <GL/gl.h>
8
 EOF
9
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10
+ac_try="$ac_cpp $CFLAGS conftest.$ac_ext >/dev/null 2>conftest.out"
11
 { (eval echo configure:3248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13
 if test -z "$ac_err"; then
14
@@ -3364,7 +3364,7 @@
15
 #include "confdefs.h"
16
 #include <GL/glx.h>
17
 EOF
18
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19
+ac_try="$ac_cpp $CFLAGS conftest.$ac_ext >/dev/null 2>conftest.out"
20
 { (eval echo configure:3369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22
 if test -z "$ac_err"; then
(-)graphics/xmms-fishmatic/files/patch-ltmain.sh (-27 lines)
Lines 1-27 Link Here
1
$FreeBSD: head/graphics/xmms-fishmatic/files/patch-ltmain.sh 300896 2012-07-14 13:54:48Z beat $
2
3
--- ltmain.sh	2001/08/27 09:51:26	1.1
4
+++ ltmain.sh	2001/08/27 09:51:42
5
@@ -2408,6 +2408,9 @@
6
 	  *-*-netbsd*)
7
 	    # Don't link with libc until the a.out ld.so is fixed.
8
 	    ;;
9
+	  *-*-freebsd*)
10
+	    # FreeBSD doesn't need this...
11
+	    ;;
12
 	  *)
13
 	    # Add libc to deplibs on all other systems if necessary.
14
 	    if test "$build_libtool_need_lc" = "yes"; then
15
@@ -4175,10 +4178,12 @@
16
 	fi
17
 
18
 	# Install the pseudo-library for information purposes.
19
+	if /usr/bin/false; then
20
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
21
 	instname="$dir/$name"i
22
 	$show "$install_prog $instname $destdir/$name"
23
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
24
+	fi
25
 
26
 	# Maybe install the static library, too.
27
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

Return to bug 185337