Removing DESTDIR from the shared library rpaths required a change in the compiler. To tell GNAT not to add in DESTDIR rpaths, the -R switch needs to be added to each library's option set. GNAT-AUX 20110627nb2 required at a minimum to take advantage of these switches. Additionally, issues with installed files' permissions were fixed.
35 lines
979 B
Makefile
35 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.3 2011/12/03 07:30:48 marino Exp $
|
|
#
|
|
|
|
DISTNAME= xmlada-${XMLADA_VERS}
|
|
PKGREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://downloads.dragonlace.net/src/ \
|
|
http://dragonlace.mirrors.ada.cx/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= draco@marino.st
|
|
HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/
|
|
COMMENT= Adacore XML suite for the Ada language
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
XMLADA_VERS= 4.2.0.0
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c # ada is not valid enumeration
|
|
USE_TOOLS= gmake makeinfo
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
# no special configuration options necessary
|
|
pre-configure:
|
|
# explicitly request GNAT-AUX compiler
|
|
# It is done here to fool tough pkgscr compiler checks
|
|
${SETENV} CC=gnatgcc
|
|
|
|
post-wrapper:
|
|
# We disable at least the wrapper binaries on all GNAT AUX ports to
|
|
# avoid potential linkage problems
|
|
${RM} ${WRKDIR}/.wrapper/bin/*
|
|
|
|
.include "../../lang/gnat-aux/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|