Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2003 23:00:12 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58770: Update port: news/yencode
Message-ID:  <20031031230012.0baee62a.tkato@prontomail.com>
Resent-Message-ID: <200310311410.h9VEAIEL084413@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58770
>Category:       ports
>Synopsis:       Update port: news/yencode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 31 06:10:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix handling USE_GETOPT_LONG

New file:
files/patch-lib::Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/news/yencode/Makefile news/yencode/Makefile
--- /usr/ports/news/yencode/Makefile	Wed Aug 27 09:37:30 2003
+++ news/yencode/Makefile	Thu Oct 30 02:46:21 2003
@@ -18,12 +18,15 @@
 
 LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
 
-USE_GETOPT_LONG=yes
+USE_GETOPT_LONG=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS=	${CXXFLAGS} -I${LOCALBASE}/include
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
 MAN1=	ydecode.1 yencode.1 ypost.1
 MAN5=	ypostrc.5
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>
diff -urN /usr/ports/news/yencode/files/patch-lib::Makefile.in news/yencode/files/patch-lib::Makefile.in
--- /usr/ports/news/yencode/files/patch-lib::Makefile.in	Thu Jan  1 09:00:00 1970
+++ news/yencode/files/patch-lib::Makefile.in	Thu Oct 30 02:50:43 2003
@@ -0,0 +1,37 @@
+--- lib/Makefile.in.orig	Fri Mar 22 06:52:35 2002
++++ lib/Makefile.in	Thu Oct 30 02:50:35 2003
+@@ -97,7 +97,7 @@
+ AM_CFLAGS = -Wall
+ libmisc_a_SOURCES = misc.h \
+ 							alloca.c xmalloc.c xstrdup.c \
+-							getopt1.c getopt.c getopt.h getoptstr.c \
++							getoptstr.c \
+ 							error.c \
+ 							input.c \
+ 							path.c \
+@@ -118,7 +118,7 @@
+ 
+ libmisc_a_AR = $(AR) cru
+ am_libmisc_a_OBJECTS = alloca.$(OBJEXT) xmalloc.$(OBJEXT) \
+-	xstrdup.$(OBJEXT) getopt1.$(OBJEXT) getopt.$(OBJEXT) \
++	xstrdup.$(OBJEXT) \
+ 	getoptstr.$(OBJEXT) error.$(OBJEXT) input.$(OBJEXT) \
+ 	path.$(OBJEXT) screen.$(OBJEXT) string.$(OBJEXT) \
+ 	timer.$(OBJEXT)
+@@ -131,7 +131,6 @@
+ LIBS = @LIBS@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/alloca.Po $(DEPDIR)/error.Po \
+-@AMDEP_TRUE@	$(DEPDIR)/getopt.Po $(DEPDIR)/getopt1.Po \
+ @AMDEP_TRUE@	$(DEPDIR)/getoptstr.Po $(DEPDIR)/input.Po \
+ @AMDEP_TRUE@	$(DEPDIR)/path.Po $(DEPDIR)/screen.Po \
+ @AMDEP_TRUE@	$(DEPDIR)/string.Po $(DEPDIR)/timer.Po \
+@@ -174,8 +173,6 @@
+ 
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/alloca.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt1.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getoptstr.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/input.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/path.Po@am__quote@
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031031230012.0baee62a.tkato>