aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-06-19 20:36:27 +0800
committerperky <perky@FreeBSD.org>2003-06-19 20:36:27 +0800
commitce8efc0fe5995bfd6947eb5ab1aea1a874006513 (patch)
treedc7377f0debea333e654f2d21381a020ca5815fc /misc
parentdce41c97f1eeaed113268ba1b1111c8d507825c9 (diff)
downloadfreebsd-ports-gnome-ce8efc0fe5995bfd6947eb5ab1aea1a874006513.tar.gz
freebsd-ports-gnome-ce8efc0fe5995bfd6947eb5ab1aea1a874006513.tar.zst
freebsd-ports-gnome-ce8efc0fe5995bfd6947eb5ab1aea1a874006513.zip
Don't use pread64 and/or lseek64 which are not in FreeBSD libc.
Diffstat (limited to 'misc')
-rw-r--r--misc/chmlib/Makefile1
-rw-r--r--misc/chmlib/files/patch-Makefile6
2 files changed, 4 insertions, 3 deletions
diff --git a/misc/chmlib/Makefile b/misc/chmlib/Makefile
index e305030d99f9..6c5317728f69 100644
--- a/misc/chmlib/Makefile
+++ b/misc/chmlib/Makefile
@@ -8,6 +8,7 @@
PORTNAME= chmlib
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://66.93.236.84/~jedwin/projects/chmlib/
DISTNAME= ${PORTNAME}-0.31
diff --git a/misc/chmlib/files/patch-Makefile b/misc/chmlib/files/patch-Makefile
index 9e402cd7997e..f34d5f7ae7c9 100644
--- a/misc/chmlib/files/patch-Makefile
+++ b/misc/chmlib/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Apr 5 23:57:17 2003
-+++ Makefile Sun Apr 6 02:30:25 2003
+--- Makefile.orig Thu Oct 10 12:25:54 2002
++++ Makefile Thu Jun 19 21:34:15 2003
@@ -7,11 +7,11 @@
# Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT.
#
@@ -9,7 +9,7 @@
-INSTALLPREFIX=/usr/local/
-CC=gcc-3.2
-LD=gcc-3.2
-+CFLAGS+=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE
++CFLAGS+=-DCHM_MT -DDMALLOC_DISABLE
+LDFLAGS=${PTHREAD_LIBS}
+INSTALLPREFIX=${PREFIX}
+#CC=gcc-3.2