diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-05 02:37:57 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-05 02:37:57 +0000 |
| commit | ad0bbce2c7f4f333b6d68026dbaf6728c5022764 (patch) | |
| tree | 096e26074b8bc50f17c764b9afbfb126dea2f9d9 /devel/pwlib/files/patch-configurein | |
| parent | Remove redundant patchfile. patch-ARK+Makefile is the real one. (diff) | |
Allow pwlib to work on ARCHS != i386.
Tested on alpha, i386, and ia64.
Submitted by: marcel
Approved by: maintainer (implicit)
Notes
Notes:
svn path=/head/; revision=102966
Diffstat (limited to 'devel/pwlib/files/patch-configurein')
| -rw-r--r-- | devel/pwlib/files/patch-configurein | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/devel/pwlib/files/patch-configurein b/devel/pwlib/files/patch-configurein index a53c4f7e9403..80c8ec813e73 100644 --- a/devel/pwlib/files/patch-configurein +++ b/devel/pwlib/files/patch-configurein @@ -1,19 +1,26 @@ -*** configure.in.orig Sun Aug 31 09:31:23 2003 ---- configure.in Sun Aug 31 09:31:50 2003 -*************** case "$target_os" in -*** 39,45 **** - STDCCFLAGS="-DP_LINUX=$OSRELEASE" ;; - - freebsd* ) OSTYPE=FreeBSD ; -! OSRELEASE=`sysctl -n kern.osreldate` ; - STDCCFLAGS="-DP_FREEBSD=$OSRELEASE" ;; - - openbsd* ) OSTYPE=OpenBSD ; ---- 39,45 ---- - STDCCFLAGS="-DP_LINUX=$OSRELEASE" ;; - - freebsd* ) OSTYPE=FreeBSD ; -! ## use enviroment variable OSRELEASE=`sysctl -n kern.osreldate` ; - STDCCFLAGS="-DP_FREEBSD=$OSRELEASE" ;; - - openbsd* ) OSTYPE=OpenBSD ; +--- configure.in.orig Thu May 22 05:19:16 2003 ++++ configure.in Sun Feb 15 23:57:20 2004 +@@ -39,7 +39,7 @@ + STDCCFLAGS="-DP_LINUX=$OSRELEASE" ;; + + freebsd* ) OSTYPE=FreeBSD ; +- OSRELEASE=`sysctl -n kern.osreldate` ; ++## use enviroment variable OSRELEASE=`sysctl -n kern.osreldate` ; + STDCCFLAGS="-DP_FREEBSD=$OSRELEASE" ;; + + openbsd* ) OSTYPE=OpenBSD ; +@@ -452,12 +452,13 @@ + dnl ######################################################################## + dnl check for video capture support. + dnl videodev.h on linux +-dnl machine/ioctl_meteor on FreeBSD ++dnl dev/bktr/ioctl_meteor or machine/ioctl_meteor on FreeBSD + dnl i386/ioctl_meteor on OpenBSD + dnl dev/ic/bt8xx on NetBSD + + HAS_VIDEO_CAPTURE=no + AC_CHECK_HEADER(linux/videodev.h, HAS_VIDEO_CAPTURE=yes) ++AC_CHECK_HEADER(dev/bktr/ioctl_meteor.h, HAS_VIDEO_CAPTURE=yes) + AC_CHECK_HEADER(machine/ioctl_meteor.h, HAS_VIDEO_CAPTURE=yes) + AC_CHECK_HEADER(i386/ioctl_meteor.h, HAS_VIDEO_CAPTURE=yes) + AC_CHECK_HEADER(dev/ic/bt8xx.h, HAS_VIDEO_CAPTURE=yes) |
