ports/146360: [MAINTAINER] sysutils/di: update to 4.22
Naram Qashat
cyberbotx at cyberbotx.com
Thu May 6 18:00:05 UTC 2010
>Number: 146360
>Category: ports
>Synopsis: [MAINTAINER] sysutils/di: update to 4.22
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu May 06 18:00:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Naram Qashat
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Fri Apr 16 09:09:45 EDT 2010
>Description:
- Update to 4.22
Added file(s):
- files/patch-Makefile
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- di-4.22.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/di/Makefile /kirby/shared/ports/di/Makefile
--- /usr/ports/sysutils/di/Makefile 2010-04-16 17:50:54.000000000 -0400
+++ /kirby/shared/ports/di/Makefile 2010-05-06 13:50:41.000000000 -0400
@@ -6,7 +6,7 @@
#
PORTNAME= di
-PORTVERSION= 4.19
+PORTVERSION= 4.22
CATEGORIES= sysutils
MASTER_SITES= http://www.gentoo.com/di/ \
http://fresh.t-systems-sfr.com/unix/src/privat2/
@@ -19,60 +19,16 @@
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB= NLS=""
-DI_BUILD_NO_NLS= 0
.else
-DI_BUILD_NO_NLS= 1
PLIST_SUB= NLS="@comment "
+MAKE_ENV+= DI_NO_NLS=T
.endif
-USE_PERL5_BUILD= yes
+MAKE_ENV+= LDFLAGS="${LDFLAGS}" prefix="${PREFIX}"
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/di.c
-pre-configure:
- @${CHMOD} +x ${WRKSRC}/Build
- @${CHMOD} +x ${WRKSRC}/features/turnoffnls.sh
-
-do-configure:
- (cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} DI_BUILD_MKCONFIG_PL=1 \
- CC="${CC}" LDFLAGS="${LDFLAGS}" \
- prefix="${PREFIX}" LOCALEDIR="${PREFIX}/share/locale" \
- DI_BUILD_NO_NLS=${DI_BUILD_NO_NLS} \
- ./Build config.h)
-
-do-build:
- (cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} \
- CC="${CC}" LDFLAGS="${LDFLAGS}" \
- prefix="${PREFIX}" LOCALEDIR="${PREFIX}/share/locale" \
- DI_BUILD_NO_NLS=${DI_BUILD_NO_NLS} \
- ./Build)
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/di ${PREFIX}/bin
- ${LN} -sf ${PREFIX}/bin/di ${PREFIX}/bin/mi
- ${INSTALL_MAN} ${WRKSRC}/di.1 ${PREFIX}/man/man1
-.if !defined(WITHOUT_NLS)
- (cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} \
- CC="${CC}" LDFLAGS="${LDFLAGS}" \
- prefix="${PREFIX}" \
- LOCALEDIR="${PREFIX}/share/locale" \
- ./Build build-po)
- -(cd ${WRKSRC}/po;for i in *.po; do \
- j=`echo $$i | ${SED} 's,\\.po$$,,'`; \
- test -d ${PREFIX}/share/locale/$$j || \
- ${MKDIR} ${PREFIX}/share/locale/$$j; \
- test -d ${PREFIX}/share/locale/$$j/LC_MESSAGES || \
- ${MKDIR} ${PREFIX}/share/locale/$$j/LC_MESSAGES; \
- ${INSTALL_DATA} $$j.mo \
- ${PREFIX}/share/locale/$$j/LC_MESSAGES/di.mo; \
- ${RM} -f $$j.mo; \
- done)
-.endif
-
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/di/distinfo /kirby/shared/ports/di/distinfo
--- /usr/ports/sysutils/di/distinfo 2010-04-16 17:50:54.000000000 -0400
+++ /kirby/shared/ports/di/distinfo 2010-05-06 13:45:58.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (di-4.19.tar.gz) = 79ccc2e364d82e58c313da6456429a80
-SHA256 (di-4.19.tar.gz) = cd2e58ddddb7db9bcb0fc0178818b511f466270abe9fb7c51a2a3aca44ce5bd9
-SIZE (di-4.19.tar.gz) = 65784
+MD5 (di-4.22.tar.gz) = 18deed2ec26c27c04b231cfc683ea0d9
+SHA256 (di-4.22.tar.gz) = 0ef867d3dfadd2b4380c323dbdc44fcef7442c58b3fea3b49afcc7d91bd833f5
+SIZE (di-4.22.tar.gz) = 80367
diff -ruN --exclude=CVS /usr/ports/sysutils/di/files/patch-Makefile /kirby/shared/ports/di/files/patch-Makefile
--- /usr/ports/sysutils/di/files/patch-Makefile 1969-12-31 19:00:00.000000000 -0500
+++ /kirby/shared/ports/di/files/patch-Makefile 2010-04-10 01:28:48.000000000 -0400
@@ -0,0 +1,47 @@
+--- Makefile.orig 2010-03-31 11:30:14.000000000 -0400
++++ Makefile 2010-04-10 01:28:44.000000000 -0400
+@@ -9,7 +9,7 @@
+ SHELL = /bin/sh
+ OBJ_EXT = .o
+ EXE_EXT =
+-CC = cc
++CC ?= cc
+ MAKE = make
+
+ #
+@@ -31,7 +31,7 @@
+ #
+ # installation options
+ #
+-prefix = /usr/local
++prefix ?= /usr/local
+ LOCALEDIR = $(prefix)/share/locale
+ #
+ INSTALL_DIR = $(prefix)
+@@ -59,7 +59,7 @@
+ #
+ # simple man page installation
+ #
+-DI_MANINSTDIR = $(INSTALL_DIR)/share/man
++DI_MANINSTDIR = $(INSTALL_DIR)/man
+ DI_MANDIR = $(DI_MANINSTDIR)/man1
+ MAN_TARGET = $(PROG).1
+ MANPERM = 644
+@@ -167,7 +167,7 @@
+ CC=cc LD=cc EXE_EXT="" OBJ_EXT=".o" \
+ CFLAGS="$(CFLAGS) -O \
+ -DDEFAULT_FORMAT=\\\"sMbuvpT\\\"" \
+- LDFLAGS="-O" di-programs
++ LDFLAGS="-O $(LDFLAGS)" di-programs
+
+ bsd43-gcc:
+ @echo ':' > di.env;chmod a+rx di.env
+@@ -177,7 +177,7 @@
+ CC=cc LD=cc EXE_EXT="" OBJ_EXT=".o" \
+ CFLAGS="$(CFLAGS) -O2 \
+ -DDEFAULT_FORMAT=\\\"sMbuvpT\\\"" \
+- LDFLAGS="-O2" di-programs
++ LDFLAGS="-O2 $(LDFLAGS)" di-programs
+
+ ###
+ # cleaning
diff -ruN --exclude=CVS /usr/ports/sysutils/di/pkg-plist /kirby/shared/ports/di/pkg-plist
--- /usr/ports/sysutils/di/pkg-plist 2007-10-26 04:30:11.000000000 -0400
+++ /kirby/shared/ports/di/pkg-plist 2010-04-10 01:01:36.000000000 -0400
@@ -1,8 +1,8 @@
bin/di
bin/mi
-%%NLS%%share/locale/de_DE/LC_MESSAGES/di.mo
-%%NLS%%share/locale/en_US/LC_MESSAGES/di.mo
-%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/en_US
-%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/de_DE
+%%NLS%%share/locale/de/LC_MESSAGES/di.mo
+%%NLS%%share/locale/en/LC_MESSAGES/di.mo
+%%NLS%%@dirrmtry share/locale/en/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en
+%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/de
--- di-4.22.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list