Date: Sun, 10 Feb 2013 07:55:03 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312000 - head/x11-clocks/mlclock Message-ID: <201302100755.r1A7t3AI072682@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sun Feb 10 07:55:02 2013 New Revision: 312000 URL: http://svnweb.freebsd.org/changeset/ports/312000 Log: - Fix build with clang PR: 175032 Submitted by: Ports Fury Modified: head/x11-clocks/mlclock/Makefile (contents, props changed) Modified: head/x11-clocks/mlclock/Makefile ============================================================================== --- head/x11-clocks/mlclock/Makefile Sun Feb 10 07:54:26 2013 (r311999) +++ head/x11-clocks/mlclock/Makefile Sun Feb 10 07:55:02 2013 (r312000) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mlclock -# Date created: December 05 1997 -# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> -# +# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> # $FreeBSD$ -# PORTNAME= mlclock PORTVERSION= 1.1 @@ -15,11 +11,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Clock for mlvwm window manager WRKSRC= ${WRKDIR}/${PORTNAME} + USE_XORG= x11 xau xdmcp PLIST_FILES= bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji PLIST_DIRS= %%DATADIR%% +post-patch: + @${REINPLACE_CMD} -e \ + 's|^void main|int main| ; \ + s|log|logical|' ${WRKSRC}/mlclock.c + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include \ -DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302100755.r1A7t3AI072682>