$NetBSD: patch-ae,v 1.3 2006/11/14 13:16:00 wennmach Exp $ Adapt to pkgsrc directory infrastrucure. --- src/gmt_support.c.orig 2006-11-10 11:19:57.000000000 +0100 +++ src/gmt_support.c 2006-11-10 11:20:29.000000000 +0100 @@ -6017,7 +6017,7 @@ /* Open the list in $GMTHOME/share */ - GMT_getsharepath (CNULL, "GMT_CustomSymbols", ".lis", list); + GMT_getsharepath ("gmt", "GMT_CustomSymbols", ".lis", list); if ((fp = fopen (list, "r")) == NULL) { fprintf (stderr, "%s: ERROR: Cannot open file %s\n", GMT_program, list); exit (EXIT_FAILURE); @@ -7861,7 +7861,7 @@ struct GMT_CUSTOM_SYMBOL *head; struct GMT_CUSTOM_SYMBOL_ITEM *s = NULL, *previous = NULL; - GMT_getsharepath ("custom", name, ".def", file); + GMT_getsharepath ("gmt/custom", name, ".def", file); if ((fp = fopen (file, "r")) == NULL) { fprintf (stderr, "GMT ERROR: %s : Could not find custom symbol %s\n", GMT_program, name); exit (EXIT_FAILURE);