diff options
author | lofi <lofi@FreeBSD.org> | 2004-01-09 00:36:53 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-01-09 00:36:53 +0800 |
commit | 320f4ac182ac27b129da89330e09b6043a75c58f (patch) | |
tree | 865f5e824a98c705cd87a680cf59a29c62f3410a /deskutils | |
parent | 6e764e5db50d12da274f106f95b03996182232d6 (diff) | |
download | freebsd-ports-gnome-320f4ac182ac27b129da89330e09b6043a75c58f.tar.gz freebsd-ports-gnome-320f4ac182ac27b129da89330e09b6043a75c58f.tar.zst freebsd-ports-gnome-320f4ac182ac27b129da89330e09b6043a75c58f.zip |
qmake changed locations, fix tuxcards for $LOCALBASE-based
qmake-installations.
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/tuxcards/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/deskutils/tuxcards/Makefile b/deskutils/tuxcards/Makefile index 271560301564..a139b57b3069 100644 --- a/deskutils/tuxcards/Makefile +++ b/deskutils/tuxcards/Makefile @@ -20,9 +20,20 @@ MAKE_ENV= QTDIR="${QT_PREFIX}" post-patch: @${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/tuxcards.pro +.include <bsd.port.pre.mk> + +# Add this condititonal while people might still have old versions +# of qmake, living in X11BASE, installed. This should go away eventually. + +.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++) do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ tuxcards.pro +.else +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ + -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ tuxcards.pro +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @@ -31,4 +42,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/docs/en/*.* ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |