summaryrefslogtreecommitdiff
path: root/irc/lostirc
diff options
context:
space:
mode:
Diffstat (limited to 'irc/lostirc')
-rw-r--r--irc/lostirc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/irc/lostirc/Makefile b/irc/lostirc/Makefile
index d1f3ff461c27..4590f8ae2f35 100644
--- a/irc/lostirc/Makefile
+++ b/irc/lostirc/Makefile
@@ -18,12 +18,6 @@ COMMENT= LostIRC is a simple and minimal IRC client for X
LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 \
intl.4:${PORTSDIR}/devel/gettext
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
USE_X_PREFIX= yes
USE_GNOME= gnomehack
GNU_CONFIGURE= yes
@@ -33,6 +27,12 @@ MAN1= lostirc.1
DOCS= AUTHORS COPYING ChangeLog TODO README INSTALL
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
post-patch:
${REINPLACE_CMD} -E "s@^(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.am
${REINPLACE_CMD} -E "s@(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.in