aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-12-01 00:54:16 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-12-01 00:54:16 +0000
commit2deb7468927ce7ad8739730df21af1ab973bfa56 (patch)
treee6738b04889f9fad5585d8b49cb511ab35b7f41e /x11-toolkits
parent2509ab30bc19e72c3bc448391644e75c876cc5f8 (diff)
downloadports-2deb7468927ce7ad8739730df21af1ab973bfa56.tar.gz
ports-2deb7468927ce7ad8739730df21af1ab973bfa56.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gal/Makefile2
-rw-r--r--x11-toolkits/qt23/Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gal/Makefile b/x11-toolkits/gal/Makefile
index 1c9d9334b285..ab5895560734 100644
--- a/x11-toolkits/gal/Makefile
+++ b/x11-toolkits/gal/Makefile
@@ -33,8 +33,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_SUB= VERSION=${PORTVERSION}
+.if !target(post-patch)
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+.endif
.include <bsd.port.mk>
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile
index 9ff3d5ba1d32..41f9f95c107e 100644
--- a/x11-toolkits/qt23/Makefile
+++ b/x11-toolkits/qt23/Makefile
@@ -85,8 +85,10 @@ pre-fetch:
@${FALSE}
.endif
+.if !target(qt-pre-configure)
qt-pre-configure:
@true
+.endif
pre-configure: qt-pre-configure
${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \
@@ -109,6 +111,7 @@ post-configure:
# Add hack to bring in support for GL. The last line is necessary to ensure that
# one can rebuild with the same tree and get the same results.
+.if !target(do-build)
do-build:
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
.if !defined(WANT_STATIC)
@@ -122,6 +125,7 @@ do-build:
${CP} ${WRKSRC}/lib/libqt2-real.so.4 ${WRKSRC}/lib/libqt2.so.4
${CP} ${WRKSRC}/src/Makefile.orig ${WRKSRC}/src/Makefile
.endif
+.endif
# XXX: This target looks like crap now.
do-install: