aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/xnc/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2007-07-05 09:00:01 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2007-07-05 09:00:01 +0000
commit9ed6e13898ec9a7f9d6031838cc63290409d4d9e (patch)
tree1e3e857a09d57841d5966514bfef92ba4c767eef /x11-fm/xnc/Makefile
parent2a853f85083ca4b0f52a1f6bbb8b6c9994ceda48 (diff)
downloadports-9ed6e13898ec9a7f9d6031838cc63290409d4d9e.tar.gz
ports-9ed6e13898ec9a7f9d6031838cc63290409d4d9e.zip
Notes
Diffstat (limited to 'x11-fm/xnc/Makefile')
-rw-r--r--x11-fm/xnc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-fm/xnc/Makefile b/x11-fm/xnc/Makefile
index 08bd1cc10e39..fea15a4eb4c1 100644
--- a/x11-fm/xnc/Makefile
+++ b/x11-fm/xnc/Makefile
@@ -26,8 +26,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
-BROKEN= Does not build
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GETTEXT= yes
USE_XLIB= yes
@@ -38,6 +36,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= ives.1 xjpegroot.1 xnc.1 xnlaunch.1 iedit.1 iview.1
+post-configure:
+ ${REINPLACE_CMD} -e 's|-I$$(MYSRCDIR)/intl||;s|$${top_builddir}/intl/libintl.a|-lintl|' \
+ ${WRKSRC}/src/ives/makefile \
+ ${WRKSRC}/src/launch/makefile \
+ ${WRKSRC}/src/xsetup/makefile \
+ ${WRKSRC}/src/makefile
+
post-install:
@${CAT} ${PKGMESSAGE}