pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
utf8proc: Create pkgconfig file in configure phase
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Wed May 27 10:17:45 2020 +0200
Changeset: de977d1949ab06dfb7f9c83131d54d0b790548c2
Modified Files:
utf8proc/Makefile
Log Message:
utf8proc: Create pkgconfig file in configure phase
Sync behaviour to autoconf.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de977d1949ab06dfb7f9c83131d54d0b790548c2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
utf8proc/Makefile | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diffs:
diff --git a/utf8proc/Makefile b/utf8proc/Makefile
index ef324233b2..b9165b10a5 100644
--- a/utf8proc/Makefile
+++ b/utf8proc/Makefile
@@ -21,13 +21,7 @@ MAJOR= 2
MINOR= 3
PATCH= 2
-do-build:
- cd ${WRKSRC} && ${LIBTOOL} --tag=CC --mode=compile \
- ${CC} ${CPPFLAGS} ${CFLAGS} -c -o utf8proc.lo utf8proc.c
- cd ${WRKSRC} && ${LIBTOOL} --tag=CC --mode=link \
- ${CC} ${LDFLAGS} -o libutf8proc.la utf8proc.lo \
- -rpath ${PREFIX}/lib \
- -version-number ${MAJOR}:${MINOR}:${PATCH}
+do-configure:
cd ${WRKSRC} && ${SED} \
-e 's#PREFIX#${PREFIX}#' \
-e 's#LIBDIR#lib#' \
@@ -36,6 +30,14 @@ do-build:
-e 's#Description:.*$$#Description: ${COMMENT}#' \
libutf8proc.pc.in >libutf8proc.pc
+do-build:
+ cd ${WRKSRC} && ${LIBTOOL} --tag=CC --mode=compile \
+ ${CC} ${CPPFLAGS} ${CFLAGS} -c -o utf8proc.lo utf8proc.c
+ cd ${WRKSRC} && ${LIBTOOL} --tag=CC --mode=link \
+ ${CC} ${LDFLAGS} -o libutf8proc.la utf8proc.lo \
+ -rpath ${PREFIX}/lib \
+ -version-number ${MAJOR}:${MINOR}:${PATCH}
+
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install \
${INSTALL_LIB} libutf8proc.la ${DESTDIR}${PREFIX}/lib
Home |
Main Index |
Thread Index |
Old Index