pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/recode Make this build on Mac OS X.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7309839f2d5
branches:  trunk
changeset: 555515:b7309839f2d5
user:      yyamano <yyamano%pkgsrc.org@localhost>
date:      Wed Mar 04 08:44:13 2009 +0000

description:
Make this build on Mac OS X.

diffstat:

 converters/recode/distinfo         |   3 +-
 converters/recode/patches/patch-aa |  47 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletions(-)

diffs (62 lines):

diff -r 9bd0c38882cc -r b7309839f2d5 converters/recode/distinfo
--- a/converters/recode/distinfo        Wed Mar 04 02:12:10 2009 +0000
+++ b/converters/recode/distinfo        Wed Mar 04 08:44:13 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 16:12:35 agc Exp $
+$NetBSD: distinfo,v 1.5 2009/03/04 08:44:13 yyamano Exp $
 
 SHA1 (recode-3.6.tar.gz) = 2de90cd2ba553bc07d75a29913ea4424dd9e616b
 RMD160 (recode-3.6.tar.gz) = 97dcb2544472c9025689452a94bed98ea36374b5
 Size (recode-3.6.tar.gz) = 1751886 bytes
+SHA1 (patch-aa) = 249f24a2598987107dc171ec1d6a7dd4249b20f8
diff -r 9bd0c38882cc -r b7309839f2d5 converters/recode/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/recode/patches/patch-aa        Wed Mar 04 08:44:13 2009 +0000
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1 2009/03/04 08:44:13 yyamano Exp $
+
+--- lib/Makefile.in.orig       2001-01-22 10:14:14.000000000 -0800
++++ lib/Makefile.in
+@@ -108,14 +108,18 @@ AUTOMAKE_OPTIONS = gnits
+ 
+ noinst_LIBRARIES = libreco.a
+ noinst_HEADERS = error.h getopt.h gettext.h pathmax.h xstring.h
++.if ${OPSYS} == "Darwin"
++libreco_a_SOURCES = error.c xstrdup.c
++.else
+ libreco_a_SOURCES = error.c getopt.c getopt1.c xstrdup.c
++.endif
+ 
+ EXTRA_DIST = alloca.c gettext.c malloc.c realloc.c strtol.c strtoul.c
+ 
+ INCLUDES = -I.. -I$(srcdir)
+ 
+ libreco_a_LIBADD = @ALLOCA@ @LIBOBJS@
+-localedir = $(prefix)/share/locale
++localedir = /usr/pkg/share/locale
+ aliaspath = $(localedir):.
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+@@ -128,7 +132,11 @@ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ libreco_a_DEPENDENCIES =  @ALLOCA@ @LIBOBJS@
++.if ${OPSYS} == "Darwin"
++libreco_a_OBJECTS =  error.o xstrdup.o
++.else
+ libreco_a_OBJECTS =  error.o getopt.o getopt1.o xstrdup.o
++.endif
+ AR = ar
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -256,8 +264,10 @@ distdir: $(DISTFILES)
+         fi; \
+       done
+ error.o: error.c ../config.h error.h
++.if ${OPSYS} != "Darwin"
+ getopt.o: getopt.c ../config.h
+ getopt1.o: getopt1.c ../config.h getopt.h
++.endif
+ xstrdup.o: xstrdup.c ../config.h
+ 
+ info-am:



Home | Main Index | Thread Index | Old Index