ports/137195: [PATCH] [UNBREAK] unbreak net/ladvd on FreeBSD/amd64

Xin LI delphij at FreeBSD.org
Tue Jul 28 01:10:01 UTC 2009


>Number:         137195
>Category:       ports
>Synopsis:       [PATCH] [UNBREAK] unbreak net/ladvd on FreeBSD/amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 28 01:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 7.2-STABLE FreeBSD 7.2-STABLE #38 r194101: Sat Jun 13 11:12:24 UTC 2009 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


>Description:
	ladvd's configure script seems to be unable to detect the
platform correctly, i.e. it uses the Linux-ish x86_64 instead of
the FreeBSD style 'amd64' naming.
>How-To-Repeat:
	build ladvd on FreeBSD/amd64.
>Fix:


--- ladvd-amd64.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ladvd/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	23 Jun 2009 20:09:31 -0000	1.3
+++ Makefile	28 Jul 2009 00:59:09 -0000
@@ -15,7 +15,7 @@ COMMENT=	A minimal CDP/LLDP sender
 
 LIB_DEPENDS=	event-1.4:${PORTSDIR}/devel/libevent
 
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 GNU_CONFIGURE=	yes
 
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure	28 Jul 2009 00:58:13 -0000
@@ -0,0 +1,11 @@
+--- configure.orig	2009-06-21 12:44:00.000000000 -0700
++++ configure	2009-07-27 17:57:55.304858737 -0700
+@@ -20063,7 +20063,7 @@
+ 	;;
+     freebsd*)
+ 	case "$target" in
+-	    x86_64-*-freebsd7.*)
++	    amd64-*-freebsd*)
+ 		use_pie=no
+ 	esac
+ 
--- ladvd-amd64.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list