pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43118: x11/slock fix for DragonFly



>Number:         43118
>Category:       pkg
>Synopsis:       x11/slock fix for DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 04 18:55:00 +0000 2010
>Originator:     Alexander Polakov
>Release:        n/a
>Organization:
>Environment:
DragonFly noisy 2.7-DEVELOPMENT DragonFly v2.7.0.45.g5d6a9-DEVELOPMENT #16: Fri 
Apr  2 23:54:49 MSD 2010     polachok@noisy:/usr/obj/usr/src/sys/XEON  i386

>Description:
slock won't build on DragonFly because it doesn't matches *BSD mask (and 
doesn't have shadow.h).
>How-To-Repeat:

>Fix:
diff --git a/x11/slock/Makefile b/x11/slock/Makefile
index 0a2994f..ecfdfa4 100644
--- a/x11/slock/Makefile
+++ b/x11/slock/Makefile
@@ -15,7 +15,7 @@ INSTALLATION_DIRS=    bin share/doc/slock
 
 .include "../../mk/bsd.prefs.mk"
 
-.if !(${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin")
+.if !(${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly")
 CFLAGS+=-DHAVE_SHADOW_H
 .endif
 



Home | Main Index | Thread Index | Old Index