1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

- Fix build on sparc64 (don't include header files for i386 specific functions

outside of i386) [1]
- While here, convert pkgconfig dependency to USE_GNOME

PR:		ports/66572 [1]
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-05-14 14:26:53 +00:00
parent 879629d714
commit e47859cf95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109125
2 changed files with 12 additions and 4 deletions

View File

@ -16,11 +16,10 @@ MAINTAINER= tijl@ulyssis.org
COMMENT= TI calculator link cables library
LIB_DEPENDS= usb-0.1.7:${PORTSDIR}/devel/libusb
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
GNU_CONFIGURE= yes
USE_GETTEXT= yes
USE_GNOME= pkgconfig
USE_LIBTOOL_VER= 13
USE_GMAKE= yes
INSTALLS_SHLIB= yes

View File

@ -1,5 +1,14 @@
--- src/ioports.c.orig Mon Nov 17 19:15:57 2003
+++ src/ioports.c Mon Nov 17 19:39:35 2003
--- src/ioports.c.orig Wed Aug 27 11:34:39 2003
+++ src/ioports.c Wed May 12 17:56:00 2004
@@ -41,7 +41,7 @@
#if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H)
# include <sys/perm.h>
# include <asm/io.h>
-#elif defined(__BSD__)
+#elif defined(__BSD__) && defined(__I386__)
# include <machine/sysarch.h>
# include <machine/cpufunc.h>
#elif defined(__WIN32__)
@@ -107,7 +107,7 @@
}
#endif /* 0 */ /* __MACOSX__ */