Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 01:33:03 +1000
From:      "Dima Panov" <fluffy@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/154029: graphics/sdl_gfx: install pkgconfig data in right place
Message-ID:  <1295105583.1121@Beastie.Fluffy.Khv.RU>
Resent-Message-ID: <201101151540.p0FFeAnl086374@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154029
>Category:       ports
>Synopsis:       graphics/sdl_gfx: install pkgconfig data in right place
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 15:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 9.0-900027-CURRENT amd64
>Organization:
Fluffy.Khv.RU 
>Environment:


System: FreeBSD 9.0-900027-CURRENT #0 r216607M: Tue Dec 21 22:48:07 VLAT 2010
    toor@Beastie.Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot



>Description:


graphics/sdl_gfx: install pkgconfig data in right place


>How-To-Repeat:





>Fix:


--- sdl_gfx.diff begins here ---
Index: graphics/sdl_gfx/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/sdl_gfx/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- graphics/sdl_gfx/Makefile	4 Dec 2010 07:32:10 -0000	1.45
+++ graphics/sdl_gfx/Makefile	15 Jan 2011 15:32:14 -0000
@@ -8,6 +8,7 @@
 
 PORTNAME=	sdl_gfx
 PORTVERSION=	2.0.21
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.ferzkopp.net/Software/%SUBDIR%/
 MASTER_SITE_SUBDIR=	SDL_gfx-${PORTVERSION:R}
@@ -17,6 +18,7 @@
 COMMENT=	SDL graphics drawing primitives and other support functions
 
 MAKE_JOBS_SAFE=	yes
+USE_GNOME=	gnomehack gnometarget
 USE_AUTOTOOLS=	libtool
 USE_SDL=	sdl
 USE_GMAKE=	yes
@@ -37,8 +39,4 @@
 CONFIGURE_ARGS=--disable-mmx
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|\$(libdir)/pkgconfig|\$(libdir)/libdata/pkgconfig|' \
-	    ${WRKSRC}/Makefile.in
-
 .include <bsd.port.post.mk>
Index: graphics/sdl_gfx/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/sdl_gfx/pkg-plist,v
retrieving revision 1.13
diff -u -r1.13 pkg-plist
--- graphics/sdl_gfx/pkg-plist	2 Aug 2009 08:35:34 -0000	1.13
+++ graphics/sdl_gfx/pkg-plist	7 Oct 2010 21:43:50 -0000
@@ -8,7 +8,5 @@
 lib/libSDL_gfx.la
 lib/libSDL_gfx.so
 lib/libSDL_gfx.so.18
-lib/libdata/pkgconfig/SDL_gfx.pc
-@dirrmtry lib/libdata/pkgconfig
-@dirrmtry lib/libdata
+libdata/pkgconfig/SDL_gfx.pc
 @dirrmtry include/SDL
--- sdl_gfx.diff ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1295105583.1121>