aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-04-30 00:31:22 +0800
committerknu <knu@FreeBSD.org>2002-04-30 00:31:22 +0800
commit4de579cbf271ce6fe167ec1db4146acf8b5ab6ee (patch)
treef8c495cfd02c1b53c950cf83fd345da1cf5ad894 /x11-toolkits
parentf0ad07b2d4608919a73c5fa3c5801c9db9d75b40 (diff)
downloadfreebsd-ports-graphics-4de579cbf271ce6fe167ec1db4146acf8b5ab6ee.tar.gz
freebsd-ports-graphics-4de579cbf271ce6fe167ec1db4146acf8b5ab6ee.tar.zst
freebsd-ports-graphics-4de579cbf271ce6fe167ec1db4146acf8b5ab6ee.zip
Assign PORTREVISION using `?=' instead of `=' so that slave ports can
override it. PR: ports/34779 Submitted by: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp> (MAINTAINER of ja-{qt23,kde*2} ports) Replace `cd dir && cmd' with `cd dir ; cmd' while I'm here.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt23/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile
index 3f2e378c6d1..bfa9302d1a0 100644
--- a/x11-toolkits/qt23/Makefile
+++ b/x11-toolkits/qt23/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= qt
PORTVERSION?= 2.3.1
-PORTREVISION= 2
+PORTREVISION?= 2
CATEGORIES?= x11-toolkits
MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
ftp://ftp.chg.ru/pub/X11/qt/source/
@@ -92,7 +92,7 @@ post-patch:
.if ${MACHINE_ARCH} == "i386" && !defined(NO_QT_OBJPRELINK)
.if !exists(${WRKDIR}/.${PKGNAME}.objprelink_patched)
@echo "Doing special objprelink patching..."
- cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/objprelink.patch
+ cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/objprelink.patch
${TOUCH} ${WRKDIR}/.${PKGNAME}.objprelink_patched
.else
@echo "Already did the objprelink patching, skipping..."
@@ -116,19 +116,19 @@ pre-configure: qt-pre-configure
.endif
post-configure:
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks)
+ @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks)
# 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.
do-build:
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
.if !defined(WANT_STATIC)
- (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o)
+ (cd ${WRKSRC}/src ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o)
${MV} ${WRKSRC}/lib/libqt2.so.4 ${WRKSRC}/lib/libqt2-real.so.4
${PERL} -pi.orig -e "s@ xml/qdom.o@xml/qdom.o opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o@g; \
s@SYSCONF_LIBS_OPENGL =@SYSCONF_LIBS_OPENGL= ${PTHREAD_LIBS} -lGL -lGLU -lXmu@g ; \
s@soname,lib[\\$$]\(TARGET\)\.so\.[\\$$]\(VER_MAJ\)@soname,libqtgl.so.4@g" ${WRKSRC}/src/Makefile
- (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all)
+ (cd ${WRKSRC}/src ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all)
${CP} ${WRKSRC}/lib/libqt2.so.4 ${WRKSRC}/lib/libqtgl.so.4
${CP} ${WRKSRC}/lib/libqt2-real.so.4 ${WRKSRC}/lib/libqt2.so.4
${CP} ${WRKSRC}/src/Makefile.orig ${WRKSRC}/src/Makefile