Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 12:34:54 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301605 - head/x11-wm/pekwm
Message-ID:  <201207271234.q6RCYsFA005514@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jul 27 12:34:54 2012
New Revision: 301605
URL: http://svn.freebsd.org/changeset/ports/301605

Log:
  - Use USE_PKGCONFIG macro
  - Remove useless post-patch

Modified:
  head/x11-wm/pekwm/Makefile

Modified: head/x11-wm/pekwm/Makefile
==============================================================================
--- head/x11-wm/pekwm/Makefile	Fri Jul 27 11:57:18 2012	(r301604)
+++ head/x11-wm/pekwm/Makefile	Fri Jul 27 12:34:54 2012	(r301605)
@@ -22,6 +22,7 @@ USE_XORG=	xft xpm x11
 USE_GMAKE=	yes
 USE_ICONV=	yes
 USE_BZIP2=	yes
+USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-shape --enable-xinerama --enable-xrandr \
 		--enable-xft --enable-image-xpm --enable-image-jpeg \
@@ -34,12 +35,8 @@ MANCOMPRESSED=	no
 
 # replace calls to obsolete libpng12 functions
 post-extract:
-	${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|; \
+	@${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|; \
 			s|png_check_sig(sig, PImageLoaderPng::PNG_SIG_BYTES) !=|png_sig_cmp(sig, 0, PImageLoaderPng::PNG_SIG_BYTES) ==|' \
 		${WRKSRC}/src/PImageLoaderPng.cc
 
-post-patch:
-	${REINPLACE_CMD} -e 's|libpng12|libpng14|g' \
-		${WRKSRC}/configure
-
 .include <bsd.port.mk>



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