aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xine
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-10-15 00:20:52 +0800
committeralex <alex@FreeBSD.org>2000-10-15 00:20:52 +0800
commitff3c2ba3bf98108c52d679e723706e0a7a22426f (patch)
tree672b4b7ebd5620624fbb172e8a7d5bca94d009af /multimedia/xine
parent02c9d77fdc0a1db40631417a95623037e908ebd0 (diff)
downloadfreebsd-ports-gnome-ff3c2ba3bf98108c52d679e723706e0a7a22426f.tar.gz
freebsd-ports-gnome-ff3c2ba3bf98108c52d679e723706e0a7a22426f.tar.zst
freebsd-ports-gnome-ff3c2ba3bf98108c52d679e723706e0a7a22426f.zip
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>
Diffstat (limited to 'multimedia/xine')
-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