diff options
author | Renato Botelho <garga@FreeBSD.org> | 2009-09-24 12:20:46 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2009-09-24 12:20:46 +0000 |
commit | cc599f286055be3fa8daa80fcdfe884376ead090 (patch) | |
tree | 2a94eb6f91f6a0dcb4f04fcd5f4bd8903720a247 /x11/libxdg-basedir | |
parent | d7c81e0aa23cb8dc9b6dac415c6f7451c5b5d737 (diff) | |
download | ports-cc599f286055be3fa8daa80fcdfe884376ead090.tar.gz ports-cc599f286055be3fa8daa80fcdfe884376ead090.zip |
Notes
Diffstat (limited to 'x11/libxdg-basedir')
-rw-r--r-- | x11/libxdg-basedir/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/libxdg-basedir/Makefile b/x11/libxdg-basedir/Makefile index fd8c1683bbc6..6b820560e746 100644 --- a/x11/libxdg-basedir/Makefile +++ b/x11/libxdg-basedir/Makefile @@ -7,6 +7,7 @@ PORTNAME= libxdg-basedir PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://n.ethz.ch/student/nevillm/download/libxdg-basedir/ @@ -15,11 +16,15 @@ COMMENT= An implementation of the XDG Base Directory specification USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${LOCALBASE} +USE_LDCONFIG= yes pre-configure: @${REINPLACE_CMD} -e \ 's|$$(libdir)/pkgconfig|$${prefix}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|"etc"|"${PREFIX}/etc"|' \ + -e '/DefaultConfigDirectories\[\]/,/DefaultRelativeCacheHome\[\]/ s|"/\([^"]\)|"\1|' \ + -e '/DefaultConfigDirectories\[\]/,/DefaultRelativeCacheHome\[\]/ s|/|" DIR_SEPARATOR_STR "|g' \ + ${WRKSRC}/src/basedir.c .include <bsd.port.mk> |