pkgsrc/devel/opencm/patches/patch-af
agc f079445758 Add patch-af to find the pr(1) program properly, rather than
hardcoding an invalid path.

Also modify the package (jointly by jlam and agc) to use the zlib
buildlink2 infrastructure, rather than using the one in the package.
2002-08-28 16:49:41 +00:00

13 lines
345 B
Text

$NetBSD: patch-af,v 1.1 2002/08/28 16:49:42 agc Exp $
--- libgdiff/Makefile.in 2002/08/28 16:37:05 1.1
+++ libgdiff/Makefile.in 2002/08/28 16:39:31
@@ -31,7 +31,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-PR_PROGRAM = /bin/pr
+PR_PROGRAM = $(shell type pr | awk '{ print $$NF }')
#### End of system configuration section. ####