Simple test for portbump -l.
This commit is contained in:
parent
4014eb89ae
commit
af17dc3d43
16
tests/portbump/t6/Makefile
Normal file
16
tests/portbump/t6/Makefile
Normal 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>
|
6
tests/portbump/t6/files/Makefile
Normal file
6
tests/portbump/t6/files/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
PROG = t6
|
||||
SRCS = t6.c
|
||||
LDADD = -lpthread
|
||||
NOMAN = 1
|
||||
|
||||
.include <bsd.prog.mk>
|
11
tests/portbump/t6/files/t6.c
Normal file
11
tests/portbump/t6/files/t6.c
Normal 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;
|
||||
}
|
2
tests/portbump/t6/pkg/PLIST
Normal file
2
tests/portbump/t6/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/01 11:02:26 zhuk Exp $
|
||||
@bin bin/t6
|
Loading…
Reference in New Issue
Block a user