summaryrefslogtreecommitdiff
path: root/devel/pthread-sem
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-15 16:34:13 +0000
committerjoerg <joerg>2006-03-15 16:34:13 +0000
commitbc54250d7718569b85aa5ccd487f273bc91477f7 (patch)
tree7d9be857e3e5e50be4eccc0a492c1f980c7e6a45 /devel/pthread-sem
parent3ab4361a92bf498b05f332df8076f317c40cf977 (diff)
downloadpkgsrc-bc54250d7718569b85aa5ccd487f273bc91477f7.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