diff options
author | will <will@FreeBSD.org> | 2001-01-24 11:48:41 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-01-24 11:48:41 +0800 |
commit | ff465584b7111b089b8af3a554a903b1802a4b7e (patch) | |
tree | ed7fa3f37a4a8c81778957faffd32c7616639126 /x11-toolkits | |
parent | 1d20979da3aee6ed8c7de6acd444758c7fa88b6d (diff) | |
download | freebsd-ports-gnome-ff465584b7111b089b8af3a554a903b1802a4b7e.tar.gz freebsd-ports-gnome-ff465584b7111b089b8af3a554a903b1802a4b7e.tar.zst freebsd-ports-gnome-ff465584b7111b089b8af3a554a903b1802a4b7e.zip |
Fix bogons related to WANT_STATIC.
Submitted by: jkh
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qt22/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/qt23/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/qt30/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/qt31/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/qt32/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/qt33/Makefile | 5 |
6 files changed, 18 insertions, 12 deletions
diff --git a/x11-toolkits/qt22/Makefile b/x11-toolkits/qt22/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt22/Makefile +++ b/x11-toolkits/qt22/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt23/Makefile +++ b/x11-toolkits/qt23/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif diff --git a/x11-toolkits/qt30/Makefile b/x11-toolkits/qt30/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt30/Makefile +++ b/x11-toolkits/qt30/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif diff --git a/x11-toolkits/qt31/Makefile b/x11-toolkits/qt31/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt31/Makefile +++ b/x11-toolkits/qt31/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif diff --git a/x11-toolkits/qt32/Makefile b/x11-toolkits/qt32/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt32/Makefile +++ b/x11-toolkits/qt32/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index 0fa8c5e243ea..d3b51d11abb5 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -98,13 +98,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 +.if !defined(WANT_STATIC) ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so -.if defined(WANT_STATIC) +.else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor @@ -128,7 +129,7 @@ do-install: .if defined(WANT_STATIC) post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a" \ + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} .endif |