mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Simple test for portbump -l.
This commit is contained in:
@@ -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>
|
||||
@@ -0,0 +1,6 @@
|
||||
PROG = t6
|
||||
SRCS = t6.c
|
||||
LDADD = -lpthread
|
||||
NOMAN = 1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/01 11:02:26 zhuk Exp $
|
||||
@bin bin/t6
|
||||
Reference in New Issue
Block a user