bugfix : use ${.CURDIR} to cope with obj symlinks
authorvgross <vgross@openbsd.org>
Wed, 14 Oct 2015 13:17:33 +0000 (13:17 +0000)
committervgross <vgross@openbsd.org>
Wed, 14 Oct 2015 13:17:33 +0000 (13:17 +0000)
regress/sys/netinet/autoport/Makefile

index e5fa932..5c6abfa 100644 (file)
@@ -1,11 +1,11 @@
-#      $OpenBSD: Makefile,v 1.1 2015/10/14 12:47:07 vgross Exp $
+#      $OpenBSD: Makefile,v 1.2 2015/10/14 13:17:33 vgross Exp $
 
-DIR=   ../../netinet6/autoport
+DIR=   ${.CURDIR}/../../netinet6/autoport
 
 REGRESS_TARGETS=       run-regress-autoport
 REGRESS_ROOT_TARGETS=  $(REGRESS_TARGETS)
 
 run-regress-autoport:
-       $(DIR)/autoport.pl 4 30000 31000 64
+       /usr/bin/perl $(DIR)/autoport.pl 4 30000 31000 64
 
 .include <bsd.regress.mk>