diff --git a/graphics/xv/patches/patch-ad b/graphics/xv/patches/patch-ad index 0ea8936d09e..e6c33dc3529 100644 --- a/graphics/xv/patches/patch-ad +++ b/graphics/xv/patches/patch-ad @@ -64,7 +64,7 @@ +#ifdef UseInstalledPng +PNG = -DDOPNG +LIBPNG = -L/usr/local/lib -lpng -+PNGINCLUDE = -I/usr/local/include ++PNGINCLUDE = -I$(LOCALBASE)/include/libpng +#endif + #ifdef HavePDS