ports/120511: x11/setlayout: update port for changed distfile

Oleg Pudeyev oleg at bsdpower.com
Sun Feb 10 21:30:05 UTC 2008


>Number:         120511
>Category:       ports
>Synopsis:       x11/setlayout: update port for changed distfile
>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:   Sun Feb 10 21:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Pudeyev
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD kappa.universe 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Wed Jul 18 01:25:26 EDT 2007     root at kappa.universe:/build/src/sys/i386/compile/KAPPA  i386
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/setlayout/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	19 Dec 2007 00:31:17 -0000	1.1
+++ Makefile	10 Feb 2008 20:55:33 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	setlayout
-DISTVERSION=	20071217
+DISTVERSION=	20080210
 CATEGORIES=	x11
 MASTER_SITES=	http://icculus.org/openbox/tools/
 DISTFILES=	${PORTNAME}.c
@@ -26,7 +26,7 @@
 	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
 
 do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} -I ${PREFIX}/include -L ${PREFIX}/lib -lX11 ${DISTFILES}
+	cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} `pkg-config --cflags --libs x11` ${DISTFILES}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/x11/setlayout/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	19 Dec 2007 00:31:17 -0000	1.1
+++ distinfo	10 Feb 2008 20:55:33 -0000
@@ -1,3 +1,3 @@
-MD5 (setlayout.c) = 76f263e1550532ae54fd53c3a49b2c71
-SHA256 (setlayout.c) = fd0b488babad5a3e81f0dae2e28b2f9caf39bc7654455988c59638067ac5062e
-SIZE (setlayout.c) = 1374
+MD5 (setlayout.c) = 16ca0d290cae2f4c16a35e9cdfb6f503
+SHA256 (setlayout.c) = 3bfa0b406cd9e4c3d5425711d237e8c701a8b88a927319be0f83428c09a629b2
+SIZE (setlayout.c) = 1448


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list