diff options
author | marino <marino@pkgsrc.org> | 2012-08-14 18:49:43 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-08-14 18:49:43 +0000 |
commit | 1fb9e81bcdbc81c741eb5cc0333cc8f853b238b7 (patch) | |
tree | 0d2d6f74e5d6f1d0a58f7ec78d4f5a34ff21f8a1 /emulators/vice/patches/patch-ab | |
parent | d4da63eba9696399588b701b6b9fc92df4e0c98d (diff) | |
download | pkgsrc-1fb9e81bcdbc81c741eb5cc0333cc8f853b238b7.tar.gz |
emulators/vice: Fix all non-NetBSD platforms
* Update configure script to force all platforms to use same installation
path as NetBSD
* The PLIST was built with fc-cache detected. This implicates fontconfig
as a dependency (without it, font still install but with a diff. name)
* like NetBSD, define HAVE_STDINT_H (other platforms may need it too)
Revbump required because package would have installed before without
PKG_DEVELOPER=yes, albeit incorrectly.
Diffstat (limited to 'emulators/vice/patches/patch-ab')
-rw-r--r-- | emulators/vice/patches/patch-ab | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/emulators/vice/patches/patch-ab b/emulators/vice/patches/patch-ab index 3efdeea5796..75b8b635f7c 100644 --- a/emulators/vice/patches/patch-ab +++ b/emulators/vice/patches/patch-ab @@ -1,11 +1,13 @@ -$NetBSD: patch-ab,v 1.11 2011/04/04 13:42:08 wiz Exp $ +$NetBSD: patch-ab,v 1.12 2012/08/14 18:49:44 marino Exp $ 1. dynamic lib support does not depend on the existence of libdl 2. patch out error message about --without-iconv-base +3. Use the NetBSD configuration for every OS since the PLIST is + hardcoded for that. Should fix every non-NetBSD platform. ---- configure.orig 2011-02-26 19:07:06.000000000 +0100 -+++ configure 2011-02-27 13:56:52.000000000 +0100 -@@ -3381,7 +3381,7 @@ +--- configure.orig 2011-02-26 18:07:06.000000000 +0000 ++++ configure +@@ -3381,7 +3381,7 @@ do ;; esac if test x"$argvalid" = "xno"; then @@ -14,7 +16,7 @@ $NetBSD: patch-ab,v 1.11 2011/04/04 13:42:08 wiz Exp $ fi done -@@ -10381,13 +10381,13 @@ +@@ -10381,13 +10381,13 @@ fi if test x"$ac_cv_header_dlfcn_h" = "xyes" ; then @@ -31,7 +33,7 @@ $NetBSD: patch-ab,v 1.11 2011/04/04 13:42:08 wiz Exp $ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -10418,7 +10418,7 @@ +@@ -10418,7 +10418,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : @@ -40,3 +42,39 @@ $NetBSD: patch-ab,v 1.11 2011/04/04 13:42:08 wiz Exp $ $as_echo "#define HAVE_DYNLIB_SUPPORT /**/" >>confdefs.h +@@ -19664,34 +19664,12 @@ _ACEOF + + + case "$host_os" in +- netbsd*) ++ *) + VICEDIR="$PREFIX/share/vice"; + if true; then + ALTERNATE_DOCDIR_TRUE= + ALTERNATE_DOCDIR_FALSE='#' + else +- ALTERNATE_DOCDIR_TRUE='#' +- ALTERNATE_DOCDIR_FALSE= +-fi +- +- ;; +- freebsd*) +- VICEDIR="$PREFIX/lib/vice"; +- if true; then +- ALTERNATE_DOCDIR_TRUE= +- ALTERNATE_DOCDIR_FALSE='#' +-else +- ALTERNATE_DOCDIR_TRUE='#' +- ALTERNATE_DOCDIR_FALSE= +-fi +- +- ;; +- *) +- VICEDIR="$PREFIX/lib/vice"; +- if false; then +- ALTERNATE_DOCDIR_TRUE= +- ALTERNATE_DOCDIR_FALSE='#' +-else + ALTERNATE_DOCDIR_TRUE='#' + ALTERNATE_DOCDIR_FALSE= + fi |