aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2011-08-12 00:07:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2011-08-12 00:07:47 +0800
commit258d5ec12fdd9f7ae86b524efa3be01b7aa41e9f (patch)
treeca6dfb8a2141e210ec830cf9f52abc04e1d51463
parent12bedc74ef945306f509de3d63a757b3628103f9 (diff)
downloadfreebsd-ports-graphics-258d5ec12fdd9f7ae86b524efa3be01b7aa41e9f.tar.gz
freebsd-ports-graphics-258d5ec12fdd9f7ae86b524efa3be01b7aa41e9f.tar.zst
freebsd-ports-graphics-258d5ec12fdd9f7ae86b524efa3be01b7aa41e9f.zip
- Fix build if build is done in the same make invocation with make config [1]
- Remove dependency on unneeded QT components Reported by: glebius [1]
-rw-r--r--astro/josm/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/astro/josm/Makefile b/astro/josm/Makefile
index f463b539340..0c0617bb763 100644
--- a/astro/josm/Makefile
+++ b/astro/josm/Makefile
@@ -39,8 +39,7 @@ OPTIONS= WEBKIT_IMAGE "Build webkit-image (needed for Yahoo imagery)" on
PLIST_FILES+= bin/webkit-image
USE_QT_VER= 4
-QT_COMPONENTS= corelib gui imageformats moc_build network script \
- rcc_build uic_build webkit
+QT_COMPONENTS= corelib gui webkit moc_build
do-build:
cd ${WRKSRC} && \
@@ -49,7 +48,9 @@ do-build:
${DISTDIR}/${WEBKITIMG_SRC} -o ${WEBKITIMG} -lQtCore -lQtWebKit \
-lQtGui
.else
-NO_BUILD= yes
+# setting NO_BUILD here won't work
+do-build:
+ @${DO_NADA}
.endif
do-install: