pkgsrc-WIP-changes archive

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

bdfresize: do not build embedded getopt.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Wed Feb 27 17:40:11 2019 +0100
Changeset:	22c5176ed2c0b0575423f8f3b9f116d761cd8283

Modified Files:
	bdfresize/Makefile

Log Message:
bdfresize: do not build embedded getopt.

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

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

diffstat:
 bdfresize/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/bdfresize/Makefile b/bdfresize/Makefile
index c6a6803efe..efa42d2c7d 100644
--- a/bdfresize/Makefile
+++ b/bdfresize/Makefile
@@ -10,4 +10,9 @@ LICENSE=	gnu-gpl-v2
 
 GNU_CONFIGURE=	yes
 
+post-configure:
+	# Do not build embedded getopt
+	sed -i 's|"getopt.h"|<getopt.h>|' ${WRKSRC}/bdfresize.c
+	sed -i 's|charresize.o getopt.o|charresize.o|' ${WRKSRC}/Makefile
+
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index