Simple test for portbump -l.

This commit is contained in:
zhuk 2015-05-01 11:02:26 +00:00
parent 4014eb89ae
commit af17dc3d43
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# no RCS Id here, please
COMMENT = portbump test package 6
PKGNAME = portbump-t6-1.0
WANTLIB = c m
DISTFILES =
do-extract:
cp ${FILESDIR}/* ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/t6 ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
PROG = t6
SRCS = t6.c
LDADD = -lpthread
NOMAN = 1
.include <bsd.prog.mk>

View File

@ -0,0 +1,11 @@
#include <sys/types.h>
#include <pthread.h>
#include <stdio.h>
int
main(int argc, char **argv) {
pthread_attr_t attr;
(void)pthread_attr_init(&attr);
return 0;
}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/01 11:02:26 zhuk Exp $
@bin bin/t6