freebsd-ports/x11-clocks/asclock/Makefile
Mark Linimon a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00

51 lines
1.8 KiB
Makefile

# New ports collection makefile for: asclock
# Date created: 20 June 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= asclock
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11-clocks afterstep
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Afterstep clock with some language extensions
CONFLICTS= asclock-gtk-[0-9]* asclock-xlib-[0-9]*
USE_GCC= any
USE_IMAKE= yes
USE_XORG= xpm xext x11
MAN1= asclock.1
PLIST_FILES= bin/asclock
pre-configure:
(cd ${WRKSRC}; \
${ECHO_CMD} ${ASCLOCK_LANG} | ${WRKSRC}/configure > /dev/null)
@${ECHO_MSG} "***************** NOTE *****************"
@${ECHO_MSG} "* *"
@${ECHO_MSG} "* You can choose languages for asclock. *"
@${ECHO_MSG} "* 1) english [DEFAULT] *"
@${ECHO_MSG} "* 2) german *"
@${ECHO_MSG} "* 3) portuguese *"
@${ECHO_MSG} "* 4) dutch *"
@${ECHO_MSG} "* 5) norwegian *"
@${ECHO_MSG} "* 6) italian *"
@${ECHO_MSG} "* 7) swedish *"
@${ECHO_MSG} "* 8) spanish *"
@${ECHO_MSG} "* 9) hungarian *"
@${ECHO_MSG} "* 0) breton *"
@${ECHO_MSG} "* a) french *"
@${ECHO_MSG} "* b) czech *"
@${ECHO_MSG} "* *"
@${ECHO_MSG} "* Specify the number you want when make. *"
@${ECHO_MSG} "* Example: \" make ASCLOCK_LANG=1 \" *"
@${ECHO_MSG} "******************************************"
.include <bsd.port.mk>