summaryrefslogtreecommitdiff
path: root/www/qDecoder/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-10 19:43:24 +0000
committerminskim <minskim@pkgsrc.org>2006-06-10 19:43:24 +0000
commit99fa2d0f63d14bc6fe704dbdd56cd8d2bb5ebb7b (patch)
tree527583b9d3ef2a5a735af575ee3986d1eb20e433 /www/qDecoder/patches
parent5ef39e324a9dc52bba856707af7f09fe71102a48 (diff)
downloadpkgsrc-99fa2d0f63d14bc6fe704dbdd56cd8d2bb5ebb7b.tar.gz
Make this package build on Darwin.
- Libtoolize. - Make "install" a phony target for case-insensitive file systems.
Diffstat (limited to 'www/qDecoder/patches')
-rw-r--r--www/qDecoder/patches/patch-aa135
-rw-r--r--www/qDecoder/patches/patch-ab10
2 files changed, 30 insertions, 115 deletions
diff --git a/www/qDecoder/patches/patch-aa b/www/qDecoder/patches/patch-aa
index a28ee4b62f1..2e8cac10e36 100644
--- a/www/qDecoder/patches/patch-aa
+++ b/www/qDecoder/patches/patch-aa
@@ -1,129 +1,34 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 00:53:51 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2006/06/10 19:43:24 minskim Exp $
---- src/Makefile.in.orig Thu Sep 6 16:33:39 2001
-+++ src/Makefile.in Thu Apr 25 09:06:29 2002
-@@ -37,87 +37,45 @@
- # Name
- PRGNAME = qDecoder
+--- src/Makefile.in.orig 2001-09-06 08:33:39.000000000 -0700
++++ src/Makefile.in
+@@ -92,24 +92,17 @@ OBJ = qDecoder.o \
--# Static Library Name
--LIBNAME = lib${PRGNAME}.a
-+# Library Name
-+LIB = ${PRGNAME}
-
--# Shared Library Name
--SLIBVERSION = 2
--SLIBNAME = lib${PRGNAME}.so
--SLIBREALNAME = ${SLIBNAME}.${SLIBVERSION}
-+# Shared Library Version
-+SHLIB_MAJOR = 0
-+SHLIB_MINOR = 0
-
- # System library directory
- LIBDIR = @libdir@
--HEADERDIR = @includedir@
-
--# Which compiler & options for release
--CC = @CC@
--CFLAGS = @CFLAGS@
--DEFS = @DEFS@
--INCLUDE = -I.
--
--# Utilities
--AR = @AR@
--ARFLAGS = -rc
--CHMOD = @CHMOD@
--INSTALL = @INSTALL@ -m 444
--LD = @LD@
--LDFLAGS = -G
--LN_S = @LN_S@
--RANLIB = @RANLIB@
--RM = @RM@
--
--
--# Objects List
--OBJ = qDecoder.o \
-- qSession.o \
-- qfDecoder.o \
-- qsDecoder.o \
-- qHttpHeader.o \
-- qError.o \
-- qEnv.o \
-- qEncode.o \
-- qString.o \
-- qFile.o \
-- qValid.o \
-- qArg.o \
-- qAwk.o \
-- qSed.o \
-- qCount.o \
-- qDownload.o \
-- qTime.o \
-- qMisc.o \
-- qInternalCommon.o \
-- qInternalEntry.o \
-- md5/md5c.o
--
--## Make Library
--all: ${OBJ}
+ ## Make Library
+ all: ${OBJ}
- ${AR} ${ARFLAGS} ${LIBNAME} ${OBJ}
- ${RANLIB} ${LIBNAME}
- ${LD} ${LDFLAGS} -o ${SLIBREALNAME} ${OBJ}
- ${CHMOD} 0644 ${SLIBREALNAME}
- ${RM} -f ${SLIBNAME}
- ${LN_S} ${SLIBREALNAME} ${SLIBNAME}
--
--## Compile Module
--.c.o:
++ ${LIBTOOL} --mode=link ${CC} -o ${LIBNAME:.a=.la} ${OBJ:.o=.lo} \
++ -rpath ${PREFIX}/lib -version-info ${SLIBVERSION}:0:0
+
+ ## Compile Module
+ .c.o:
- ${CC} ${CFLAGS} ${DEFS} ${INCLUDE} -c -o $@ $<
--
--## Install Module
++ ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} ${DEFS} ${INCLUDE} -c -o $@ $<
+
+ ## Install Module
-install: all
-- ${INSTALL} qDecoder.h ${HEADERDIR}/qDecoder.h
++install:
+ ${INSTALL} qDecoder.h ${HEADERDIR}/qDecoder.h
- ${INSTALL} ${LIBNAME} ${LIBDIR}/${LIBNAME}
- ${INSTALL} ${SLIBREALNAME} ${LIBDIR}/${SLIBREALNAME}
- ${RM} -f ${LIBDIR}/${SLIBNAME}
- ${LN_S} ${LIBDIR}/${SLIBREALNAME} ${LIBDIR}/${SLIBNAME}
--
--uninstall: deinstall
--deinstall:
-- ${RM} -f ${HEADERDIR}/qDecoder.h
-- ${RM} -f ${LIBDIR}/${LIBNAME}
-- ${RM} -f ${LIBDIR}/${SLIBREALNAME}
-- ${RM} -f ${LIBDIR}/${SLIBNAME}
--
--## Clear Module
--clean:
-- ${RM} -f ${OBJ} ${LIBNAME} ${SLIBREALNAME} ${SLIBNAME}
-+CPPFLAGS += @DEFS@ -I.
-+
-+NOLINT = 1
-+NOPROFILE = 1
-+
-+# Sources List
-+SRCS = qDecoder.c \
-+ qSession.c \
-+ qfDecoder.c \
-+ qsDecoder.c \
-+ qHttpHeader.c \
-+ qError.c \
-+ qEnv.c \
-+ qEncode.c \
-+ qString.c \
-+ qFile.c \
-+ qValid.c \
-+ qArg.c \
-+ qAwk.c \
-+ qSed.c \
-+ qCount.c \
-+ qDownload.c \
-+ qTime.c \
-+ qMisc.c \
-+ qInternalCommon.c \
-+ qInternalEntry.c \
-+ md5/md5c.c
-+
-+afterinstall:
-+ ${BSD_INSTALL_DATA} qDecoder.h ${PREFIX}/include
-+
-+.include <bsd.lib.mk>
++ ${LIBTOOL} --mode=install ${INSTALL} ${LIBNAME:.a=.la} ${LIBDIR}
+
+ uninstall: deinstall
+ deinstall:
diff --git a/www/qDecoder/patches/patch-ab b/www/qDecoder/patches/patch-ab
new file mode 100644
index 00000000000..048b6a27a61
--- /dev/null
+++ b/www/qDecoder/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1 2006/06/10 19:43:24 minskim Exp $
+
+--- Makefile.in.orig 2001-09-06 08:33:40.000000000 -0700
++++ Makefile.in
+@@ -61,3 +61,5 @@ distclean: clean
+ echo "===> Removing $${DIR}/Makefile"; \
+ (cd $${DIR}; rm -f Makefile); \
+ done
++
++.PHONY: install