diff options
author | rafan <rafan@FreeBSD.org> | 2006-12-02 20:20:36 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-12-02 20:20:36 +0800 |
commit | 96ab6a01b973a4611f6dfe10b207d17a451661dc (patch) | |
tree | 8a12669b4816b889273869db4c65a134b5cd2aff /vietnamese/xvnkb/Makefile | |
parent | dfd7a5248a6896abfceb3937517daf162e8a8116 (diff) | |
download | freebsd-ports-gnome-96ab6a01b973a4611f6dfe10b207d17a451661dc.tar.gz freebsd-ports-gnome-96ab6a01b973a4611f6dfe10b207d17a451661dc.tar.zst freebsd-ports-gnome-96ab6a01b973a4611f6dfe10b207d17a451661dc.zip |
- Respect X11BASE
The previous one does not work as expected. You also need to change
tools/Makefile.dep.
- Remove some unnecessary variables
- configure already supports custom X11 path via XLIB_DIR, use that.
PR: 106020
Submitted by: rafan
Approved by: Nguyen Tam Chinh <chinhngt at sectorb.msk.ru> (maintainer)
Diffstat (limited to 'vietnamese/xvnkb/Makefile')
-rw-r--r-- | vietnamese/xvnkb/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vietnamese/xvnkb/Makefile b/vietnamese/xvnkb/Makefile index 66720da5360a..027fbce2a36b 100644 --- a/vietnamese/xvnkb/Makefile +++ b/vietnamese/xvnkb/Makefile @@ -20,10 +20,9 @@ USE_XLIB= yes USE_GNOME= gtk20 GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes -CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" X11BASE="${X11BASE}" +CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" XLIB_DIR="${X11BASE}" .if defined(WITHOUT_XFT) CONFIGURE_ARGS+= --no-xft @@ -31,7 +30,6 @@ CONFIGURE_ARGS+= --no-xft LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft .endif -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SUB_LIST= PORTVERSION=${PORTVERSION} SUB_FILES= pkg-message @@ -45,6 +43,9 @@ MAN1= xvnkb.1 RUN_DEPENDS+= ${LOCALBASE}/share/locale/la_LN.UTF-8/LC_CTYPE:${PORTSDIR}/misc/utf8locale .endif +post-patch: + @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/tools/Makefile.dep + post-install: @${STRIP_CMD} ${PREFIX}/bin/xvnkb ${INSTALL_MAN} ${FILESDIR}/xvnkb.1 ${MANPREFIX}/man/man1 |