diff options
author | miwi <miwi@FreeBSD.org> | 2007-10-29 16:31:01 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-10-29 16:31:01 +0800 |
commit | 920307e443bb32963e089b81a76828a3c4a8d8f8 (patch) | |
tree | 61ec2643d34143341979ad5a02ec10e99fe600c6 /net | |
parent | 2f07904dafdaaf101fa5a1fb334133c198e05e1e (diff) | |
download | freebsd-ports-gnome-920307e443bb32963e089b81a76828a3c4a8d8f8.tar.gz freebsd-ports-gnome-920307e443bb32963e089b81a76828a3c4a8d8f8.tar.zst freebsd-ports-gnome-920307e443bb32963e089b81a76828a3c4a8d8f8.zip |
- Fix build with amd64
PR: 116876
Submitted by: Wesley Shields <wxs@atarininja.org>
Approved by: maintainer timeout
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) |