diff options
-rw-r--r-- | x11-toolkits/fltk/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/fltk/pkg-plist | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index 46396a901392..afa45fba8240 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -35,6 +35,9 @@ MAN3= fltk.3 post-patch: ${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile + prefix="${PREFIX}" ; plength=$$(($${#prefix}+10)) ; \ + ${REINPLACE_CMD} -e "\|/etc/fltk|{s||${PREFIX}&|;s|10|$${plength}|;}" \ + ${WRKSRC}/src/Fl_Preferences.cxx .if !defined(NOPORTDOCS) PORTDOCS= * diff --git a/x11-toolkits/fltk/pkg-plist b/x11-toolkits/fltk/pkg-plist index 88266fa9dd9f..ec181b8ddde4 100644 --- a/x11-toolkits/fltk/pkg-plist +++ b/x11-toolkits/fltk/pkg-plist @@ -159,3 +159,5 @@ lib/libfltk_images.so lib/libfltk_images.so.1 lib/libfltk_images.so.1.3 @dirrm include/FL +@dirrmtry etc/fltk/fltk.org +@dirrmtry etc/fltk |