summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-10-14 16:20:52 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-10-14 16:20:52 +0000
commit511d42a9454b9bde3483978da4e6c1a287c11810 (patch)
tree0bce674040ac5aafde6fb91ee64b82a6d7b02457 /multimedia
parentAdd location of myself, and clarify the location of ftp.kr.freebsd.org. (diff)
Improve port:
- add PKGMESSAGE, so that everyone raises shared memory. - patch configure PORTREVISION NOT bumped since the last commit was only some hours ago. PR: 21669 Submitted by: Roman Shterenzon <roman@xpert.com>
Notes
Notes: svn path=/head/; revision=33826
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine/Makefile3
-rw-r--r--multimedia/xine/files/patch-configure11
-rw-r--r--multimedia/xine/pkg-message4
-rw-r--r--multimedia/xine/pkg-plist2
4 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index cd2c1b59b151..e35cb3db6db0 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -17,4 +17,7 @@ GNU_CONFIGURE= yes
USE_X_PREFIX= yes
USE_IMLIB= yes
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/multimedia/xine/files/patch-configure b/multimedia/xine/files/patch-configure
new file mode 100644
index 000000000000..727b498ed90f
--- /dev/null
+++ b/multimedia/xine/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Oct 10 07:57:35 2000
++++ configure Sat Oct 14 18:10:35 2000
+@@ -3566,7 +3566,7 @@
+ *) echo "$host is not currently supported by xine"; exit 1;;
+ esac
+
+- GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wall -O3 -fomit-frame-pointer -static -funroll-loops -finline-functions"
++ GLOBAL_CFLAGS="$GLOBAL_CFLAGS $CFLAGS -Wall -fomit-frame-pointer -static -funroll-loops -finline-functions"
+ ;;
+ esac
+
diff --git a/multimedia/xine/pkg-message b/multimedia/xine/pkg-message
new file mode 100644
index 000000000000..05d7f5b20978
--- /dev/null
+++ b/multimedia/xine/pkg-message
@@ -0,0 +1,4 @@
+Make sure you've enough shared memory, the xine FAQ
+advises to have the following sysctl settings:
+kern.ipc.shmmax=67108864
+kern.ipc.shmall=32768
diff --git a/multimedia/xine/pkg-plist b/multimedia/xine/pkg-plist
index 5eac87a33329..8abab195fc37 100644
--- a/multimedia/xine/pkg-plist
+++ b/multimedia/xine/pkg-plist
@@ -2,7 +2,6 @@ lib/xine/plugins/input_file.so
lib/xine/plugins/input_file.la
lib/xine/plugins/input_dvd.so
lib/xine/plugins/input_dvd.la
-share/xine/skins/default
share/xine/skins/default/bg.png
share/xine/skins/default/close.png
share/xine/skins/default/exit.png
@@ -16,6 +15,7 @@ share/xine/skins/default/pause.png
share/xine/skins/default/prev.png
share/xine/skins/xine_logo.png
bin/xine
+@dirrm share/xine/skins/default
@dirrm share/xine/skins
@dirrm share/xine
@dirrm lib/xine/plugins