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

(-)mpiosh/Makefile (-12 / +4 lines)
Lines 6-23 Link Here
6
#
6
#
7
7
8
PORTNAME=	mpiosh
8
PORTNAME=	mpiosh
9
PORTVERSION=	0.7.0
9
PORTVERSION=	0.7.1p2
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	mpio
12
MASTER_SITE_SUBDIR=	mpio
13
DISTNAME=	mpio-${PORTVERSION}
13
DISTNAME=	mpio-${PORTVERSION:S|p|_pre|}
14
14
15
MAINTAINER=	asa@gascom.ru
15
MAINTAINER=	asa@gascom.ru
16
COMMENT=	Digit@lway MPIO MP3 player tool
16
COMMENT=	Digit@lway MPIO MP3 player tool
17
17
18
RUN_DEPENDS=	${MODULES}/mpio.ko:${PORTSDIR}/audio/mpio-driver
18
LIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb
19
20
MODULES?=	/modules
21
19
22
USE_ICONV=	yes
20
USE_ICONV=	yes
23
USE_LIBTOOL_VER=	13
21
USE_LIBTOOL_VER=	13
Lines 28-37 Link Here
28
CONFIGURE_TARGET=
26
CONFIGURE_TARGET=
29
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
27
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
30
28
31
.include <bsd.port.pre.mk>
29
.include <bsd.port.mk>
32
33
.if ${OSVERSION} > 500000
34
IGNORE=		This port only works for FreeBSD 4.x
35
.endif
36
37
.include <bsd.port.post.mk>
(-)mpiosh/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mpio-0.7.0.tar.gz) = 09790dd74be6d9dcfffe7090713a7387
1
MD5 (mpio-0.7.1_pre2.tar.gz) = c15e771455c4f4a883df78e2c83b128b
2
SIZE (mpio-0.7.0.tar.gz) = 290415
2
SIZE (mpio-0.7.1_pre2.tar.gz) = 404509
(-)mpiosh/files/patch-Makefile.in (-10 / +10 lines)
Lines 1-11 Link Here
1
--- Makefile.in.orig	Sun Dec  7 14:52:24 2003
1
--- Makefile.in.orig	Mon May 31 09:13:58 2004
2
+++ Makefile.in	Sun Dec  7 14:54:36 2003
2
+++ Makefile.in	Mon May 31 09:14:08 2004
3
@@ -93,7 +93,7 @@
3
@@ -184,7 +184,7 @@
4
 am__include = @am__include@
4
 target_cpu = @target_cpu@
5
 am__quote = @am__quote@
5
 target_os = @target_os@
6
 install_sh = @install_sh@
6
 target_vendor = @target_vendor@
7
-SUBDIRS = kernel libmpio mpiosh etc tools 
7
-SUBDIRS = @MPIO_KERNEL@ libmpio mpiosh etc tools hotplug
8
+SUBDIRS = libmpio mpiosh etc tools 
8
+SUBDIRS = @MPIO_KERNEL@ libmpio mpiosh etc tools
9
 EXTRA_DIST = mpio.spec
10
 all: all-recursive
9
 
11
 
10
 sbin_SCRIPTS = mkmpiodev
11
 EXTRA_DIST = mpio.spec mkmpiodev
(-)mpiosh/files/patch-configure (-37 lines)
Lines 1-37 Link Here
1
--- configure.orig	Sun Dec  7 15:00:37 2003
2
+++ configure	Sun Dec  7 15:03:44 2003
3
@@ -7797,6 +7797,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11
@@ -8118,26 +8118,6 @@
12
13
14
 KERNEL_INCLUDE=
15
-if test -d "/lib/modules/${kernel_version}/build/include"; then
16
-    KERNEL_INCLUDE="/lib/modules/${kernel_version}/build/include"
17
-elif test -d "/usr/src/linux-2.4/include"; then
18
-    KERNEL_INCLUDE="/usr/src/linux-2.4/include"
19
-elif test -d "/usr/include/linux"; then
20
-    KERNEL_INCLUDE="/usr/include/linux"
21
-elif test -d "/usr/src/linux/include"; then
22
-    KERNEL_INCLUDE="/usr/src/linux/include"
23
-fi
24
-
25
-if test -z ${KERNEL_INCLUDE}; then
26
-    { { echo "$as_me:$LINENO: error: could not find directory of kernel include files" >&5
27
-echo "$as_me: error: could not find directory of kernel include files" >&2;}
28
-   { (exit 1); exit 1; }; }
29
-else
30
-    echo "$as_me:$LINENO: result: Using kernel includes from ${KERNEL_INCLUDE}" >&5
31
-echo "${ECHO_T}Using kernel includes from ${KERNEL_INCLUDE}" >&6
32
-fi
33
-
34
-
35
36
 # could not find a way to compile the kernel module correctly
37
 #    kernel/Makefile
(-)mpiosh/files/patch-libmpio-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- libmpio/Makefile.in.orig	Tue Apr 20 16:51:47 2004
2
+++ libmpio/Makefile.in	Tue Apr 20 16:54:44 2004
3
@@ -241,7 +241,7 @@
4
 	$(mkinstalldirs) $(DESTDIR)$(libdir)
5
 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
6
 	  if test -f $$p; then \
7
-	    f="`echo $$p | sed -e 's|^.*/||'`"; \
8
+	    f="$$p"; \
9
 	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
10
 	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
11
 	  else :; fi; \
(-)mpiosh/files/patch-libmpio-defs.h (-11 lines)
Lines 1-11 Link Here
1
--- libmpio/defs.h.orig        Fri Jun 20 10:41:50 2003
2
+++ libmpio/defs.h     Fri Jun 20 10:42:08 2003
3
@@ -99,7 +99,7 @@
4
 #define NULL             0
5
 #endif
6
7
-#define MPIO_DEVICE "/dev/usb/mpio"
8
+#define MPIO_DEVICE "/dev/urio0"
9
 #define MPIO_CHARSET "ISO-8859-15"
10
11
 #define SECTOR_SIZE      0x200
(-)mpiosh/files/patch-mpiosh-Makefile.in (-11 / +11 lines)
Lines 1-11 Link Here
1
--- mpiosh/Makefile.in.orig    Thu Jun 19 19:54:46 2003
1
--- mpiosh/Makefile.in.orig	Mon May 31 09:19:32 2004
2
+++ mpiosh/Makefile.in Thu Jun 19 19:55:54 2003
2
+++ mpiosh/Makefile.in	Mon May 31 09:20:36 2004
3
@@ -142,7 +142,7 @@
3
@@ -116,7 +116,7 @@
4
4
 KERNEL_INCLUDE = @KERNEL_INCLUDE@
5
 AM_CFLAGS = -DSYSCONFDIR=\"@sysconfdir@\"
5
 LDFLAGS = @LDFLAGS@
6
6
 LIBOBJS = @LIBOBJS@
7
-mpiosh_LDADD = ../libmpio/libmpio.la -lreadline -lncurses
7
-LIBS = @LIBS@
8
+mpiosh_LDADD = ../libmpio/libmpio.la -lreadline -lncurses -liconv
8
+LIBS = @LIBS@ -liconv
9
9
 LIBTOOL = @LIBTOOL@
10
 noinst_HEADERS = mpiosh.h \
10
 LIBUSB_CONFIG = @LIBUSB_CONFIG@
11
               callback.h \
11
 LN_S = @LN_S@
(-)mpiosh/files/patch-tools-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- tools/Makefile.in.orig     Thu Jun 19 20:02:33 2003
2
+++ tools/Makefile.in  Thu Jun 19 20:02:46 2003
3
@@ -138,7 +138,7 @@
4
5
 am_mpiologo_OBJECTS = mpiologo.$(OBJEXT)
6
 mpiologo_OBJECTS = $(am_mpiologo_OBJECTS)
7
-mpiologo_LDADD = $(LDADD)
8
+mpiologo_LDADD = $(LDADD) -lgnugetopt
9
 mpiologo_DEPENDENCIES =
10
 mpiologo_LDFLAGS =
11
(-)mpiosh/pkg-plist (-1 lines)
Lines 6-11 Link Here
6
lib/libmpio.so.1
6
lib/libmpio.so.1
7
include/mpio/defs.h
7
include/mpio/defs.h
8
include/mpio/mpio.h
8
include/mpio/mpio.h
9
sbin/mkmpiodev
10
@dirrm include/mpio
9
@dirrm include/mpio
11
@dirrm etc/mpio
10
@dirrm etc/mpio

Return to bug 67410