diff options
author | pat <pat@FreeBSD.org> | 2002-01-31 05:02:46 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-31 05:02:46 +0800 |
commit | d7e6ab8042da59ade6c64340710d2a5e550531ad (patch) | |
tree | f4bf5bb5554ccf6b99fc99f1b4344499ec5851ea /net-mgmt/ipv6calc/files | |
parent | 0d4884a17b78bb0533a36a6e2d0c235313f2d508 (diff) | |
download | freebsd-ports-gnome-d7e6ab8042da59ade6c64340710d2a5e550531ad.tar.gz freebsd-ports-gnome-d7e6ab8042da59ade6c64340710d2a5e550531ad.tar.zst freebsd-ports-gnome-d7e6ab8042da59ade6c64340710d2a5e550531ad.zip |
Add port net/ipv6calc - a utility to convert, change and calculate with
IPv6 addresses
PR: 34441
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'net-mgmt/ipv6calc/files')
-rw-r--r-- | net-mgmt/ipv6calc/files/patch-Makefile.in | 25 | ||||
-rw-r--r-- | net-mgmt/ipv6calc/files/patch-ipv6calc.h.in | 10 |
2 files changed, 35 insertions, 0 deletions
diff --git a/net-mgmt/ipv6calc/files/patch-Makefile.in b/net-mgmt/ipv6calc/files/patch-Makefile.in new file mode 100644 index 000000000000..9e3975727279 --- /dev/null +++ b/net-mgmt/ipv6calc/files/patch-Makefile.in @@ -0,0 +1,25 @@ +--- Makefile.in.orig Thu Jan 24 17:01:10 2002 ++++ Makefile.in Wed Jan 30 15:47:31 2002 +@@ -8,11 +8,9 @@ + + # Compiler and Linker Options + #COPTS = -O2 -Wall -g # old one +-COPTS = -O2 -Wall -g -ansi # ANSI compatible ++COPTS = -ansi -I${LOCALBASE}/include # ANSI compatible + +-CFLAGS = $(COPTS) +- +-CC = gcc ++CFLAGS += $(COPTS) + + #OBJS = ipv6calc.o addr_to_compressed.o addr_to_uncompressed.o addr_to_fulluncompressed.o addr_to_ifinet6.o addr_to_ip6int.o ifinet6_to_compressed.o libipv6calc.o addr_to_base85.o librfc1924.o base85_to_addr.o librfc1884.o libmac.o libeui64.o mac_to_eui64.o eui64_to_privacy.o librfc3041.o showinfo.o ipv6types.o + OBJS = ipv6calc.o addr_to_compressed.o addr_to_uncompressed.o addr_to_fulluncompressed.o addr_to_ifinet6.o addr_to_ip6int.o ifinet6_to_compressed.o libipv6calc.o addr_to_base85.o librfc1924.o base85_to_addr.o librfc1884.o libmac.o libeui64.o mac_to_eui64.o eui64_to_privacy.o librfc3041.o showinfo.o libipv6addr.o +@@ -25,7 +23,7 @@ + $(OBJS): ipv6calc.h libipv6addr.h librfc1884.h + + ipv6calc: $(OBJS) +- $(CC) -o ipv6calc $(OBJS) -lcrypto ++ $(CC) -o ipv6calc $(OBJS) -lcrypto -lgnugetopt -L${LOCALBASE}/lib + + distclean: + make clean diff --git a/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in b/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in new file mode 100644 index 000000000000..86d563f6f5a4 --- /dev/null +++ b/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in @@ -0,0 +1,10 @@ +--- ipv6calc.h.in.orig Wed Jan 30 19:22:13 2002 ++++ ipv6calc.h.in Wed Jan 30 19:25:11 2002 +@@ -20,6 +20,7 @@ + #define PROGRAM_COPYRIGHT "(P) & (C) 2001-2002 by Peter Bieringer <pb@bieringer.de>\n published under GNU GPL" + + /* global includes */ ++#include <sys/types.h> + #include <netinet/in.h> + + /*** global definitions ***/ |