diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-05 17:31:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-05 17:31:27 +0000 |
commit | fcd1239d719de80b66e08f69ea7fd467057bfd37 (patch) | |
tree | b1be206e94f78354fd664c1f843f833b23e077e9 /x11/kdelibs2/Makefile | |
parent | d8e22debdaf6f7c0eaf5d9b1ec47abf92a182f8d (diff) | |
download | pkgsrc-fcd1239d719de80b66e08f69ea7fd467057bfd37.tar.gz |
Add SSL settings to this Makefile and remove SSL settings from
buildlink.mk. Also add $(KDE_RPATH) to some Makefiles to properly compile
when libqt.la isn't found. The USER_LDFLAGS setting is thus unnecessary.
Diffstat (limited to 'x11/kdelibs2/Makefile')
-rw-r--r-- | x11/kdelibs2/Makefile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile index f5afa86104c..9edcca733c5 100644 --- a/x11/kdelibs2/Makefile +++ b/x11/kdelibs2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/07/05 05:53:53 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/07/05 17:31:27 jlam Exp $ # DISTNAME= kdelibs-2.1 @@ -19,7 +19,7 @@ LTCONFIG_OVERRIDE+= ${WRKSRC}/ksgmltools/ltconfig .include "../../devel/pcre/buildlink.mk" .endif -CONFIGURE_ENV+= USER_LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_DIR}" LIBS+= -Wl,--export-dynamic MKDIRS= share/kde/icons/locolor/32x32/actions/kde \ @@ -29,6 +29,25 @@ MKDIRS= share/kde/icons/locolor/32x32/actions/kde \ share/kde/icons/hicolor/22x22/mimetypes \ share/kde/icons/hicolor/22x22/filesystems +KDE_RPATH_MAKEFILES= dcop/Makefile.in + +# Add a missing $(KDE_RPATH) to the LDFLAGS setting in several Makefiles. +fix: + @cd ${WRKSRC}; \ + for file in ${KDE_RPATH_MAKEFILES:S/.in$//}; do \ + ${SED} -e "s,\(^LDFLAGS.*\),\1 \$$(KDE_RPATH)," \ + $${file} > $${file}.add-kde-rpath; \ + ${MV} -f $${file}.add-kde-rpath $${file}; \ + done + +post-patch: + @cd ${WRKSRC}; \ + for file in ${KDE_RPATH_MAKEFILES}; do \ + ${SED} -e "s,\(^LDFLAGS.*\),\1 \$$(KDE_RPATH)," \ + $${file} > $${file}.add-kde-rpath; \ + ${MV} -f $${file}.add-kde-rpath $${file}; \ + done + post-install: for d in ${MKDIRS}; do \ ${INSTALL_DATA_DIR} ${PREFIX}/$$d; \ |