1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/gitg0/Makefile
Tijl Coosemans c958a48581 Remove two libtool fixes from Mk/Uses/libtool.mk. They don't always work
when an older version of a package is installed.  This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries.  For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries.  Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.

With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.

This partially reverts r358784.

PR:		191611
Approved by:	portmgr (bapt)
2014-07-23 10:28:03 +00:00

39 lines
730 B
Makefile

# Created by: kipz <somicide@gmail.com>
# $FreeBSD$
PORTNAME= gitg
PORTVERSION= 0.0.8
PORTREVISION= 1
CATEGORIES= devel deskutils gnome
MASTER_SITES= GNOME
PKGNAMESUFFIX= 0
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= GTK-based git repository viewer (gtk2 version)
LICENSE= GPLv2
RUN_DEPENDS= git:${PORTSDIR}/devel/git
CONFLICTS= gitg-[0-9]*
USES= tar:bzip2 gmake pkgconfig pathfix libtool
GNU_CONFIGURE= yes
USE_GNOME= gconf2 gtk20 gtksourceview2
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
GCONF_SCHEMAS= gitg.schemas
PORTSCOUT= limit:^0\.0\.
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
NLS_CPPFLAGS= -I${LOCALBASE}/include
NLS_LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.mk>