Date: Sat, 23 Nov 2002 13:44:59 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45632: Update port: www/retawq to 0.1.2 Message-ID: <20021123134459.63358e7b.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 45632 >Category: ports >Synopsis: Update port: www/retawq to 0.1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 22 20:50:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.1.2 Remove file: files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/www/retawq/Makefile www/retawq/Makefile --- /usr/ports/www/retawq/Makefile Thu Nov 21 01:31:26 2002 +++ www/retawq/Makefile Thu Nov 21 02:07:57 2002 @@ -7,7 +7,7 @@ # PORTNAME= retawq -PORTVERSION= 0.1.1 +PORTVERSION= 0.1.2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,11 +16,18 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext -USE_GMAKE= yes -MAKE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" THREAD_LIBS="${PTHREAD_LIBS}" -ALL_TARGET= build_binary +USE_REINPLACE= yes +HAS_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ARGS= --path-archprefix=${PREFIX} --path-prefix=${PREFIX} \ + --enable-i18n --enable-local-cgi --enable-ipv6 MAN1= retawq.1 + +post-configure: + @${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \ + s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config do-install: ${INSTALL_PROGRAM} ${WRKSRC}/retawq ${PREFIX}/bin diff -urN /usr/ports/www/retawq/distinfo www/retawq/distinfo --- /usr/ports/www/retawq/distinfo Thu Nov 21 01:31:27 2002 +++ www/retawq/distinfo Wed Nov 20 22:10:32 2002 @@ -1 +1 @@ -MD5 (retawq-0.1.1.tar.gz) = d98ff734beab3314157268c2be00051e +MD5 (retawq-0.1.2.tar.gz) = 813b2029c678f3b0519d1597472b7b1f diff -urN /usr/ports/www/retawq/files/patch-Makefile www/retawq/files/patch-Makefile --- /usr/ports/www/retawq/files/patch-Makefile Thu Nov 21 01:31:27 2002 +++ www/retawq/files/patch-Makefile Thu Jan 1 09:00:00 1970 @@ -1,66 +0,0 @@ ---- Makefile.orig Wed Aug 28 19:28:25 2002 -+++ Makefile Wed Nov 13 09:33:04 2002 -@@ -16,24 +16,24 @@ - OPTION_CED = 1 - - # i18n (internationalization) --OPTION_I18N = 0 --PATH_INSTALL_LOCALE = \"/usr/local/share/locale\" -+OPTION_I18N = 1 -+PATH_INSTALL_LOCALE = \"${PREFIX}/share/locale\" - - # path for "make install"; don't add a trailing "/"! --PATH_INSTALL_BIN = /usr/local/bin -+PATH_INSTALL_BIN = ${PREFIX}/bin - - # put your favourite C compiler here; mine is "gcc" --CC = gcc -+CC ?= gcc - - # compiler flags; "-O2" is the code-optimization level for gcc - ifeq ($(CC), gcc) --CFLAGS = -O2 -+CFLAGS ?= -O2 - else - CFLAGS = - endif - - # libc library flags for multi-threading --CFLAGS += -D_REENTRANT -+CFLAGS += -D_REENTRANT ${THREAD_CFLAGS} -I${LOCALBASE}/include - - - # Part B. Don't change any of the following! -@@ -75,7 +75,7 @@ - - # add GTK flags - ifeq ($(OPTION_GRAPHICS), 1) --CFLAGS += $(shell gtk-config --cflags) -+CFLAGS += $(shell ${GTKCONFIG} --cflags) - endif - - # object files -@@ -89,20 +89,20 @@ - endif - - ifeq ($(CONFIG_THREADING), 2) --PTHREAD_LIBS = -lpthread -+PTHREAD_LIBS = ${THREAD_LIBS} - else - PTHREAD_LIBS = - endif - - ifeq ($(OPTION_GRAPHICS), 1) --LCLC = $(shell gtk-config --libs) -+LCLC = $(shell ${GTKCONFIG} --libs) - else - ifeq ($(OPTION_NCURSES), 1) - CLC = ncurses - else - CLC = curses - endif --LCLC = -l$(CLC) -+LCLC = -l$(CLC) -lintl -L${LOCALBASE}/lib - endif - - ifeq ($(OPTION_GRAPHICS), 1) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021123134459.63358e7b.tkato>