aboutsummaryrefslogtreecommitdiffstats
path: root/palm/ppmtoTbmp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-16 10:26:47 +0800
committerkris <kris@FreeBSD.org>2003-10-16 10:26:47 +0800
commita9e7ec9e79c133f813c5f01736577ab824a06d0f (patch)
treeff98c697a9da32efdafb671ad1db97cf5a4ca875 /palm/ppmtoTbmp
parentd4181be2af762d0388b6ce3706e1d21ba09315aa (diff)
downloadfreebsd-ports-gnome-a9e7ec9e79c133f813c5f01736577ab824a06d0f.tar.gz
freebsd-ports-gnome-a9e7ec9e79c133f813c5f01736577ab824a06d0f.tar.zst
freebsd-ports-gnome-a9e7ec9e79c133f813c5f01736577ab824a06d0f.zip
BROKEN on 5.x: does not compile
Diffstat (limited to 'palm/ppmtoTbmp')
-rw-r--r--palm/ppmtoTbmp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index 0826c3881d52..cb466b657c6e 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -17,6 +17,12 @@ LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS =.*|CFLAGS += -I${LOCALBASE}/include|g; \
s|^LDLIBS =|LDLIBS = -L${LOCALBASE}/lib|g" ${WRKSRC}/Makefile
@@ -32,4 +38,4 @@ do-install:
${MKDIR} ${PREFIX}/share/ppmtoTbmp
${INSTALL_DATA} ${WRKSRC}/q?.map ${PREFIX}/share/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>