diff options
author | reg <reg@FreeBSD.org> | 2000-10-13 09:34:41 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-13 09:34:41 +0000 |
commit | b495249f6ccb9f9054fd7a5900893090e32e9335 (patch) | |
tree | e834f4aa12861df77c6c1a1af1257d216bb90c9e /japanese/balsa/Makefile | |
parent | 763467596703f965d1da6c848e29607a0c8f1979 (diff) | |
download | FreeBSD-ports-b495249f6ccb9f9054fd7a5900893090e32e9335.zip FreeBSD-ports-b495249f6ccb9f9054fd7a5900893090e32e9335.tar.gz |
Fix my breakage. Install files in the right places, and use regex style
patching.
Diffstat (limited to 'japanese/balsa/Makefile')
-rw-r--r-- | japanese/balsa/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/japanese/balsa/Makefile b/japanese/balsa/Makefile index 4db82a0..4af2f45 100644 --- a/japanese/balsa/Makefile +++ b/japanese/balsa/Makefile @@ -28,6 +28,14 @@ CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \ LIBS='-L${LOCALBASE}/lib' MAN1= balsa.1 +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \ + s|\$\(gnomedatadir\)/gnome|\$\(gnomedatadir\)|g' + pre-configure: ${RM} ${WRKSRC}/config.cache ${WRKSRC}/libmutt/config.cache |