Date: Tue, 16 Aug 2005 01:02:14 +0200 (CEST) From: Jean-Yves Lefort <jylefort@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bland@FreeBSD.org Subject: ports/84971: Update port: x11/nvidia-settings Message-ID: <20050815230214.D2239C2E4@jsite.lefort.net> Resent-Message-ID: <200508152310.j7FNAIRB009756@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84971 >Category: ports >Synopsis: Update port: x11/nvidia-settings >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 15 23:10:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jean-Yves Lefort >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD jsite.lefort.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Jul 27 11:27:58 CEST 2005 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386 >Description: - Track the in-place distfile change. I am unable to provide a summary of changes, as I cannot find the previous distfile. Since updating files in place seems to be the rule for this port, I recommend to use ${MASTER_SITE_LOCAL} as MASTER_SITES. - Respect ${CC} and ${X11BASE} - Remove -O from the vendor's Makefile - Respect ${INSTALL_PROGRAM}, and do not unconditionally strip the binary - Install the user's guide >How-To-Repeat: >Fix: diff -ruN /usr/ports/x11/nvidia-settings/Makefile nvidia-settings/Makefile --- /usr/ports/x11/nvidia-settings/Makefile Mon Jul 25 04:17:45 2005 +++ nvidia-settings/Makefile Tue Aug 16 00:42:50 2005 @@ -7,7 +7,7 @@ PORTNAME= nvidia-settings PORTVERSION= 1.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MASTER_SITES= http://download.nvidia.com/XFree86/nvidia-settings/ @@ -19,9 +19,19 @@ USE_GMAKE= yes PLIST_FILES= bin/nvidia-settings +PORTDOCS= nvidia-settings-user-guide.txt -MAKE_ENV= ROOT=${PREFIX} +MAKE_ENV= ROOT=${PREFIX} \ + CC=${CC} \ + X11R6_LIB_DIR=${X11BASE}/lib \ + X11R6_INC_DIR=${X11BASE}/include ONLY_FOR_ARCHS= i386 + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR} +.endif .include <bsd.port.mk> diff -ruN /usr/ports/x11/nvidia-settings/distinfo nvidia-settings/distinfo --- /usr/ports/x11/nvidia-settings/distinfo Mon Jul 25 04:17:45 2005 +++ nvidia-settings/distinfo Tue Aug 16 00:16:12 2005 @@ -1,2 +1,2 @@ -MD5 (nvidia-settings-1.0.tar.gz) = e0c413a6fde25d3c78193a7f73273354 -SIZE (nvidia-settings-1.0.tar.gz) = 1048551 +MD5 (nvidia-settings-1.0.tar.gz) = d07a1226260b94a2122cd811eb696126 +SIZE (nvidia-settings-1.0.tar.gz) = 1056908 diff -ruN /usr/ports/x11/nvidia-settings/files/patch-Makefile nvidia-settings/files/patch-Makefile --- /usr/ports/x11/nvidia-settings/files/patch-Makefile Sun Aug 15 06:57:54 2004 +++ nvidia-settings/files/patch-Makefile Tue Aug 16 00:48:56 2005 @@ -1,6 +1,20 @@ ---- Makefile.orig Sun Aug 15 13:15:04 2004 -+++ Makefile Sun Aug 15 13:38:32 2004 -@@ -70,7 +70,7 @@ +--- Makefile.orig Fri Jul 29 22:30:54 2005 ++++ Makefile Tue Aug 16 00:48:33 2005 +@@ -37,7 +37,7 @@ + # default definitions; can be overwritten by users + + SHELL = /bin/sh +-INSTALL = install -m 755 ++INSTALL = $(BSD_INSTALL_PROGRAM) + BUILD_OS := $(shell uname) + BUILD_ARCH := $(shell uname -m) + +@@ -74,12 +74,11 @@ + ifndef STRIP + STRIP = strip + endif +- CFLAGS += -O + endif # default prefix ifdef ROOT @@ -9,3 +23,11 @@ else prefix = /usr/local endif +@@ -177,7 +176,6 @@ + all: $(NVIDIA_SETTINGS) + + install: $(NVIDIA_SETTINGS) +- $(STRIP) $< + $(INSTALL_RULE) + + $(OBJS_DIR)/%.o: %.c >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050815230214.D2239C2E4>