diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-06-07 22:19:28 +0800 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-06-07 22:19:28 +0800 |
commit | 95c7fc19d67af56786fcf4ebe300df020533da30 (patch) | |
tree | c70bb583092f431d97575383d7148724469e7bbc /sysutils | |
parent | b5478f9086e043ab006497eab1c1fdf903dfa1ca (diff) | |
download | freebsd-ports-gnome-95c7fc19d67af56786fcf4ebe300df020533da30.tar.gz freebsd-ports-gnome-95c7fc19d67af56786fcf4ebe300df020533da30.tar.zst freebsd-ports-gnome-95c7fc19d67af56786fcf4ebe300df020533da30.zip |
- Remove the WITH_LINUXTHREADS knob from the Makefile.
PR: ports/179354
Submitted by: rene@
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/hourglass/Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/sysutils/hourglass/Makefile b/sysutils/hourglass/Makefile index 48d78a30e5dd..e52faa01cec7 100644 --- a/sysutils/hourglass/Makefile +++ b/sysutils/hourglass/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: hourglass -# Date created: 23 March 2004 -# Whom: olive -# # $FreeBSD$ -# PORTNAME= hourglass PORTVERSION= 1.0.1 @@ -12,7 +7,7 @@ MASTER_SITES= http://www.cs.utah.edu/~regehr/hourglass/ DISTNAME= ${PORTNAME}-${PORTVERSION}b MAINTAINER= jadawin@FreeBSD.org -COMMENT= A real-time application useful to learn how CPU scheduling works +COMMENT= Real-time application to learn how CPU scheduling works RUN_DEPENDS= jgraph:${PORTSDIR}/graphics/jgraph @@ -22,15 +17,9 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/busy bin/hourglass PORTDOCS= CALIBRATION -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_LINUXTHREADS) -THREAD_LIBS= -L${LOCALBASE}/lib -llthread -llgcc_r -THREAD_CFLAGS= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads -LIB_DEPENDS+= lthread.3:${PORTSDIR}/devel/linuxthreads -.else THREAD_LIBS= -pthread -.endif post-patch: @${REINPLACE_CMD} -e 's,%LOCALBASE%,${LOCALBASE},g' \ @@ -41,11 +30,11 @@ post-patch: ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} . endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |