svn commit: r301605 - head/x11-wm/pekwm

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 27 12:34:55 UTC 2012


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>



More information about the svn-ports-head mailing list