diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-10-29 08:31:01 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-10-29 08:31:01 +0000 |
commit | 25695b8938702d7c70ab6d83588fd4fa48987c92 (patch) | |
tree | ee209c00b64e598176a9218316a974badcc412bc /net | |
parent | Update to 3.2.1 (diff) |
- Fix build with amd64
PR: 116876
Submitted by: Wesley Shields <wxs@atarininja.org>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=202271
Diffstat (limited to 'net')
-rw-r--r-- | net/libnet10/Makefile | 2 | ||||
-rw-r--r-- | net/libnet10/files/patch-Makefile.in | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile index 27db4625f005..facadd5cf78c 100644 --- a/net/libnet10/Makefile +++ b/net/libnet10/Makefile @@ -16,6 +16,8 @@ PKGNAMESUFFIX= 10 MAINTAINER= shipley@dis.org COMMENT= A C library for creating IP packets +CFLAGS+= -fPIC + USE_AUTOTOOLS= autoconf:261 WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} diff --git a/net/libnet10/files/patch-Makefile.in b/net/libnet10/files/patch-Makefile.in index 6fc8a0495af1..eedc6c8ad162 100644 --- a/net/libnet10/files/patch-Makefile.in +++ b/net/libnet10/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig Mon Feb 5 14:51:41 2001 -+++ Makefile.in Mon Sep 25 18:26:09 2006 +--- Makefile.in.orig 2001-02-05 12:51:41.000000000 -0500 ++++ Makefile.in 2007-10-03 12:45:33.000000000 -0400 @@ -14,8 +14,8 @@ exec_prefix = @exec_prefix@ srcdir = @srcdir@ @@ -11,6 +11,15 @@ MAN_PREFIX = @MAN_PREFIX@ LIBNET = libnet +@@ -37,7 +37,7 @@ + CC = @CC@ + ENSUREDIR = $(srcdir)/ensure-dir.sh + INSTALL_DATA= $(srcdir)/install-sh +-CFLAGS = @CFLAGS@ ++CFLAGS += @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ + OBJECTS = src/libnet_resolve.o\ + src/libnet_socket.o\ @@ -108,8 +108,8 @@ $(INSTALL_DATA) $(INCLUDE-M) $(DESTDIR)$(INC_PREFIX)$(LIBNET) $(INSTALL_DATA) $(INCLUDE-A) $(DESTDIR)$(INC_PREFIX)$(LIBNET) |