summaryrefslogtreecommitdiff
path: root/devel/libportlib
diff options
context:
space:
mode:
authorben <ben>2004-04-14 15:09:11 +0000
committerben <ben>2004-04-14 15:09:11 +0000
commit725ffe8861653030aaf3a9c4bf6fafc69044be01 (patch)
tree0a8098d08e7ff2d9aae49637fda457471125238b /devel/libportlib
parentfd8334874d0ae45846353e5ad07e23b3f3dd3f35 (diff)
downloadpkgsrc-725ffe8861653030aaf3a9c4bf6fafc69044be01.tar.gz
Make libportlib build on Linux by removing unnecessary system header
dependencies.
Diffstat (limited to 'devel/libportlib')
-rw-r--r--devel/libportlib/distinfo4
-rw-r--r--devel/libportlib/patches/patch-aa52
2 files changed, 25 insertions, 31 deletions
diff --git a/devel/libportlib/distinfo b/devel/libportlib/distinfo
index 754123d7410..05660dfec4f 100644
--- a/devel/libportlib/distinfo
+++ b/devel/libportlib/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
+$NetBSD: distinfo,v 1.2 2004/04/14 15:09:11 ben Exp $
SHA1 (portlib-1.01.tar.gz) = b1cfc22c5c8550f26daca3043e5379a7358302a3
Size (portlib-1.01.tar.gz) = 12589 bytes
-SHA1 (patch-aa) = b85fa88f072a8fa82070e3ad381d84c88748aaa6
+SHA1 (patch-aa) = 9b6c846775e3fd15ff739198b749e7f3357c2b2a
diff --git a/devel/libportlib/patches/patch-aa b/devel/libportlib/patches/patch-aa
index 91bd42f5a3c..0c2aee84062 100644
--- a/devel/libportlib/patches/patch-aa
+++ b/devel/libportlib/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
+$NetBSD: patch-aa,v 1.2 2004/04/14 15:09:11 ben Exp $
---- Makefile.orig Sun Apr 8 19:58:28 2001
-+++ Makefile Sun Apr 8 20:03:43 2001
-@@ -157,8 +157,8 @@
+--- Makefile.orig 1997-05-19 14:03:59.000000000 -0700
++++ Makefile
+@@ -157,8 +157,8 @@ PROJECTMINORRELEASE = 01
STD_CPP_DEFINES =
STD_INCLUDES = -I$(LOCALINCLUDEROOT)
@@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
STD_LDFLAGS = -L$(LOCALUSRLIBDIR)
# Project-specific include file directories, defines, etc.
-@@ -170,7 +170,7 @@
+@@ -170,7 +170,7 @@ PROJECTMINORRELEASE = 01
LOADERLIBPREFIX =
CDEBUGFLAGS = -O
@@ -22,7 +22,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
ALLINCLUDES = $(INCLUDES) $(PROJECT_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(STD_DEFINES) $(PROJECT_DEFINES) $(DEFINES)
-@@ -282,11 +282,11 @@
+@@ -282,11 +282,11 @@ INSTUGIDPROGFLAGS = $(INSTCOPY) $(INSTOW
DEFINES = \
-DHAS_SYSCONF=1 \
@@ -37,7 +37,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
LIBSRCS = ato.c dir.c fd.c lock.c mem.c $(STRSRCS)
LIBOBJS = ato.o dir.o fd.o lock.o mem.o $(STROBJS)
-@@ -474,7 +474,8 @@
+@@ -474,7 +474,8 @@ all:: porttest
porttest:: porttest.sh
$(RM) $@
echo "#!"$(SHELL) > $@
@@ -47,7 +47,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
$(CHMOD) a+x $@
clean::
-@@ -600,26 +601,24 @@
+@@ -600,26 +601,12 @@ Makefiles::
# DO NOT DELETE
@@ -57,35 +57,29 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:54:52 agc Exp $
-dir.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
-dir.o: /usr/include/sys/types.h /usr/include/sys/isa_defs.h
-dir.o: /usr/include/sys/machtypes.h /usr/include/sys/select.h
-+ato.o: /usr/include/stdio.h
-+ato.o: /usr/include/math.h
-+dir.o: /usr/include/stdio.h
-+dir.o: /usr/include/sys/types.h
-+dir.o: /usr/include/sys/select.h
- dir.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/dirent.h
- dir.o: /usr/include/sys/dirent.h portlib.h
+-dir.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/dirent.h
+-dir.o: /usr/include/sys/dirent.h portlib.h
-fd.o: portlib.h /usr/include/unistd.h /usr/include/sys/feature_tests.h
-fd.o: /usr/include/sys/types.h /usr/include/sys/isa_defs.h
-fd.o: /usr/include/sys/machtypes.h /usr/include/sys/select.h
-+fd.o: portlib.h /usr/include/unistd.h
-+fd.o: /usr/include/sys/types.h
-+fd.o: /usr/include/sys/select.h
- fd.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/unistd.h
+-fd.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/unistd.h
-lock.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
-+lock.o: /usr/include/stdio.h
- lock.o: /usr/include/fcntl.h /usr/include/sys/types.h
+-lock.o: /usr/include/fcntl.h /usr/include/sys/types.h
-lock.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
- lock.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h
- lock.o: /usr/include/sys/fcntl.h portlib.h
+-lock.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h
+-lock.o: /usr/include/sys/fcntl.h portlib.h
-mem.o: portlib.h /usr/include/string.h /usr/include/sys/feature_tests.h
-atotest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
-dirtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
-fdtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
-locktest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
-memtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
-+mem.o: portlib.h /usr/include/string.h
-+atotest.o: /usr/include/stdio.h portlib.h
-+dirtest.o: /usr/include/stdio.h portlib.h
-+fdtest.o: /usr/include/stdio.h portlib.h
-+locktest.o: /usr/include/stdio.h portlib.h
-+memtest.o: /usr/include/stdio.h portlib.h
++dir.o: portlib.h
++fd.o: portlib.h
++lock.o: portlib.h
++mem.o: portlib.h
++atotest.o: portlib.h
++dirtest.o: portlib.h
++fdtest.o: portlib.h
++locktest.o: portlib.h
++memtest.o: portlib.h