svn commit: r505796 - head/graphics/pixmap

Niclas Zeising zeising at FreeBSD.org
Wed Jul 3 21:27:13 UTC 2019


Author: zeising
Date: Wed Jul  3 21:27:12 2019
New Revision: 505796
URL: https://svnweb.freebsd.org/changeset/ports/505796

Log:
  graphics/pixmap: Fix build after libXt update
  
  Fix the build after the x11-toolkits/libXt update.  Simply remove the
  ancient bundled versions of X11 headers and the various CFLAGS additions,
  and use X11 provided headers which contain appropriate defines.
  
  Reported by:	antoine

Modified:
  head/graphics/pixmap/Makefile

Modified: head/graphics/pixmap/Makefile
==============================================================================
--- head/graphics/pixmap/Makefile	Wed Jul  3 21:03:30 2019	(r505795)
+++ head/graphics/pixmap/Makefile	Wed Jul  3 21:27:12 2019	(r505796)
@@ -23,8 +23,9 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 USES=		imake
 USE_XORG=	xpm xbitmaps x11 xaw xmu xt sm ice xext
 
-CFLAGS+=	-D_X_SENTINEL\(x\)= -D_X_ATTRIBUTE_PRINTF\(x,y\)= \
-		-D_X_DEPRECATED= -DUSG
+# Remove bundled X11 headers and use headers from X11 libraries
+post-extract:
+	${RM} -rf ${WRKSRC}/X11
 
 post-configure:
 	@${REINPLACE_CMD} 's| $$(PIXMAPDIR|$$(PIXMAPDIR|' \


More information about the svn-ports-head mailing list