ports/58770: Update port: news/yencode
KATO Tsuguru
tkato at prontomail.com
Fri Oct 31 14:10:28 UTC 2003
>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 at DEP_FILES = $(DEPDIR)/alloca.Po $(DEPDIR)/error.Po \
+- at 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 at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error.Po at am__quote@
+- at AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt.Po at am__quote@
+- at AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt1.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getoptstr.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/input.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/path.Po at am__quote@
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list