summaryrefslogtreecommitdiff
path: root/misc/chmlib
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-06-19 12:36:27 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-06-19 12:36:27 +0000
commite095ea9f2f02ce53bc8ee81c34847154d4dc2de7 (patch)
tree98ed66c7335aa3e0cde2108f0143d71dc787ef4f /misc/chmlib
parentfix for alpha build (diff)
Don't use pread64 and/or lseek64 which are not in FreeBSD libc.
Notes
Notes: svn path=/head/; revision=83312
Diffstat (limited to 'misc/chmlib')
-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