diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 23:52:49 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 23:52:49 (GMT) |
commit | ef974fb08972483d6852c9d5b2f23e1d33343b76 (patch) | |
tree | fa5aad1563681bf14a0fed3cdf8f599f7e8e853c /abs/core/libpcap/libpcap-shared.patch | |
parent | ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed (diff) | |
download | linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.zip linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.tar.gz linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.tar.bz2 |
Housekeeping
Diffstat (limited to 'abs/core/libpcap/libpcap-shared.patch')
-rw-r--r-- | abs/core/libpcap/libpcap-shared.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/abs/core/libpcap/libpcap-shared.patch b/abs/core/libpcap/libpcap-shared.patch deleted file mode 100644 index a200836..0000000 --- a/abs/core/libpcap/libpcap-shared.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -u -r libpcap-0.6.2/Makefile.in libpcap-shared/Makefile.in ---- libpcap-0.6.2/Makefile.in Thu Jan 18 05:06:24 2001 -+++ libpcap-shared/Makefile.in Fri Jul 20 16:26:05 2001 -@@ -22,6 +22,10 @@ - # - # Various configurable paths (remember to edit Makefile.in, not Makefile) - # -+MAJOR = @MAJOR@ -+MINOR = @MINOR@ -+SUBMINOR = @SUBMINOR@ -+VERSION = @VERSION@ - - # Top level hierarchy - prefix = @prefix@ -@@ -47,7 +51,7 @@ - DEFS = @DEFS@ - - # Standard CFLAGS --CFLAGS = $(CCOPT) $(INCLS) $(DEFS) -+CFLAGS = $(CCOPT) $(INCLS) $(DEFS) -fPIC -DPIC - - INSTALL = @INSTALL@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -@@ -91,9 +95,14 @@ - TAGFILES = \ - $(SRC) $(HDR) $(TAGHDR) - --CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c - --all: libpcap.a -+ -+CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c libpcap.so.$(VERSION) -+ -+all: libpcap.a libpcap.so.$(VERSION) -+ -+libpcap.so.$(VERSION): -+ gcc -shared -Wl,-soname -Wl,libpcap.so.$(VERSION) -o libpcap.so.$(VERSION) $(OBJ) -lc - - libpcap.a: $(OBJ) - @rm -f $@ -@@ -139,6 +148,10 @@ - [ -d $(DESTDIR)$(libdir) ] || \ - (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir)) - $(INSTALL_DATA) libpcap.a $(DESTDIR)$(libdir)/libpcap.a -+ $(INSTALL_DATA) libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(VERSION) -+ ln -s libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so -+ ln -s libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR) -+ ln -s libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR).$(MINOR) - $(RANLIB) $(DESTDIR)$(libdir)/libpcap.a - [ -d $(DESTDIR)$(includedir) ] || \ - (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir)) |