pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(qcad/Makefile) improve a little bit for libtool



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Sat Apr 9 00:44:02 2016 +0900
Changeset:	41db79c56afb7cbcf99984e861bbb4ecb191ef3a

Modified Files:
	qcad/Makefile

Log Message:
(qcad/Makefile)  improve a little bit for libtool

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=41db79c56afb7cbcf99984e861bbb4ecb191ef3a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qcad/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/qcad/Makefile b/qcad/Makefile
index a33f735..2ae71ec 100644
--- a/qcad/Makefile
+++ b/qcad/Makefile
@@ -13,7 +13,7 @@ USE_TOOLS+=	autoconf gmake pax
 EXTRACT_USING=	gtar
 USE_LANGUAGES=	c c++
 USE_LIBTOOL=	yes
-# BROKEN=		libtool handling is NOT correct
+BROKEN=		libtool handling is NOT correct
 
 BUILD_TARGET=	all
 
@@ -45,7 +45,9 @@ do-configure:
 	env ${PKGSRC_ENV} ${CONFIGURE_ENV} QTDIR=${QTDIR} ${QTDIR}/bin/qmake -r
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/release/qcad-bin ${DESTDIR}${PREFIX}/bin/qcad
+	cd ${WRKSRC}/release && \
+	for i in lib*a ; do libtool --mode=install install $$i ${DESTDIR}${PREFIX}/bin/qcad ; done && \
+	libtool --mode=install install qcad-bin ${DESTDIR}${PREFIX}/bin/qcad
 	cd ${WRKSRC} && umask 022 && \
 	pax -rwpm support examples fonts patterns scripts ${DESTDIR}${PREFIX}/share/qcad
 


Home | Main Index | Thread Index | Old Index