summaryrefslogtreecommitdiff
path: root/devel/pthread-sem
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-15 16:34:13 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-15 16:34:13 +0000
commitef5a3a2870ca4cafd20d6d44eab14fdd17c58015 (patch)
tree7d9be857e3e5e50be4eccc0a492c1f980c7e6a45 /devel/pthread-sem
parent47283bca00e37d3f8fe97a2a7d515ba8cafe1b29 (diff)
downloadpkgsrc-ef5a3a2870ca4cafd20d6d44eab14fdd17c58015.tar.gz
Fix build before someone tries to use this. *blush*
Honour PKGMANDIR. Bump revision.
Diffstat (limited to 'devel/pthread-sem')
-rw-r--r--devel/pthread-sem/Makefile4
-rw-r--r--devel/pthread-sem/files/Makefile7
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/pthread-sem/Makefile b/devel/pthread-sem/Makefile
index edc278d3906..f19841bb2bb 100644
--- a/devel/pthread-sem/Makefile
+++ b/devel/pthread-sem/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2006/01/15 11:56:54 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2006/03/15 16:34:13 joerg Exp $
#
DISTNAME= pthread-sem-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cit.gu.edu.au/teaching/2105CIT/software/
diff --git a/devel/pthread-sem/files/Makefile b/devel/pthread-sem/files/Makefile
index 80605496f14..44e56b86e6f 100644
--- a/devel/pthread-sem/files/Makefile
+++ b/devel/pthread-sem/files/Makefile
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.1 2006/01/10 13:42:29 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2006/03/15 16:34:13 joerg Exp $
LIB= libsemaphore
LIB_VER= 1:0
LIBS?= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
SRCS= sem.c
+OBJS= ${SRCS:.c=.lo}
HDRS= semaphore.h
+CFLAGS+= -I.
+
PREFIX?= /usr/local
LIBDIR?= ${PREFIX}/lib
INCLUDEDIR?= ${PREFIX}/include
-MANDIR?= ${PREFIX}/man
+MANDIR?= ${PREFIX}/${PKGMANDIR}
MANDIR3?= ${MANDIR}/man3
BSD_INSTALL?= install