aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixmap
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pixmap')
-rw-r--r--graphics/pixmap/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/pixmap/Makefile b/graphics/pixmap/Makefile
index 9c330ab7166a..1fb418464068 100644
--- a/graphics/pixmap/Makefile
+++ b/graphics/pixmap/Makefile
@@ -14,11 +14,14 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= jmz@FreeBSD.org
-BROKEN= "Does not build with XFree86-4"
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 4 # requires rgb.txt
+BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/XFree86-4-clients
+.endif
WRKSRC= ${WRKDIR}/pixmap
USE_IMAKE= yes
USE_XPM= yes
MAN1= pixmap.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>