Subject: pkg/30262: pkgtools/shlock doesn't list DragonFly as architecture
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@leaf.dragonflybsd.org>
List: pkgsrc-bugs
Date: 05/17/2005 15:38:00
>Number: 30262
>Category: pkg
>Synopsis: pkgtools/shlock doesn't list DragonFly as architecture
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 17 15:38:00 +0000 2005
>Originator: Jörg Sonnenberger
>Release: pkgsrc-HEAD [DragonFly 1.3]
>Organization:
>Environment:
DragonFly britannica.bec.de 1.3.1-DEVELOPMENT DragonFly 1.3.1-DEVELOPMENT #15: Tue May 17 13:31:47 2005 joerg@britannica.bec.de:/home/joerg/wd/DragonFly/world/src/sys/compile/TURTLE i386
>Description:
shlock is needed for PKGSRC_LOCKTYPE, but has an ONLY_FOR_PLATFORM list.
>How-To-Repeat:
build on DragonFly.
>Fix:
Index: pkgtools/shlock/Makefile
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/pkgsrc/pkgtools/shlock/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- pkgtools/shlock/Makefile 13 May 2005 19:01:18 -0000 1.9
+++ pkgtools/shlock/Makefile 14 May 2005 01:20:27 -0000
@@ -10,7 +10,7 @@
#HOMEPAGE=
COMMENT= Shell utility to perform dot-locking
-ONLY_FOR_PLATFORM= SunOS-*-* Linux-*-* Interix-*-*
+ONLY_FOR_PLATFORM= SunOS-*-* Linux-*-* Interix-*-* DragonFly-*-*
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= #empty
@@ -27,7 +27,7 @@
PKGSRC_LOCKTYPE= none # avoid "bootstrapping problem"
-.if ${OPSYS} == "SunOS"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly"
MANINSTALL=
.endif
Index: pkgtools/shlock/files/Makefile
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/pkgsrc/pkgtools/shlock/files/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- pkgtools/shlock/files/Makefile 15 Feb 2002 11:56:19 -0000 1.2
+++ pkgtools/shlock/files/Makefile 9 May 2005 21:33:26 -0000
@@ -2,7 +2,7 @@
PROG= shlock
-.if (${OPSYS} == SunOS)
+.if (${OPSYS} == SunOS) || ${OPSYS} == DragonFly
NOMAN= YES
.endif