aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/qlwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/qlwm/Makefile')
-rw-r--r--x11-wm/qlwm/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/qlwm/Makefile b/x11-wm/qlwm/Makefile
index 13897f7269a8..35e6c2201007 100644
--- a/x11-wm/qlwm/Makefile
+++ b/x11-wm/qlwm/Makefile
@@ -15,12 +15,6 @@ MASTER_SITES= http://www.netcologne.de/~nc-lindenal/qlwm/
MAINTAINER= trevor@FreeBSD.org
COMMENT= Qt-based window manager
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Fails to link"
-.endif
-
DOCDIR= share/doc/${PORTNAME}
DOCS= CHANGES README
LIBDIR= lib/${PORTNAME}
@@ -34,6 +28,12 @@ REINPLACE_ARGS= -i'' -E
MAKE_ENV= DEST="${PREFIX}/${LIBDIR}" INCPATH="${QTCPPFLAGS}" \
LIBS="${QTCFGLIBS} -lqt-mt -pthread" LINK="${CXX}" MOC="${MOC}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Fails to link"
+.endif
+
post-patch:
find ${WRKSRC} -name "Makefile" | xargs ${REINPLACE_CMD} \
's|/usr/local/qlwm|${PREFIX}/${LIBDIR}|g ; \