freebsd-ports/devel/pwlib152/files/patch-makefile
Joe Marcus Clarke ad0bbce2c7 Allow pwlib to work on ARCHS != i386.
Tested on alpha, i386, and ia64.

Submitted by:	marcel
Approved by:	maintainer (implicit)
2004-03-05 02:37:57 +00:00

14 lines
419 B
Text

*** src/ptlib/unix/Makefile.orig Tue Dec 2 11:15:55 2003
--- src/ptlib/unix/Makefile Tue Dec 2 11:16:39 2003
*************** VIDEO_CAPTURE_SOURCE = video4linux.cxx
*** 422,428 ****
--- 422,430 ----
endif
ifeq ($(OSTYPE),FreeBSD)
+ ifneq (,$(wildcard $(SYSINCDIR)/dev/bktr/ioctl_meteor.h $(SYSINCDIR)/machine/ioctl_meteor.h))
VIDEO_CAPTURE_SOURCE = video4bsd.cxx
+ endif
endif
ifeq ($(OSTYPE),OpenBSD)