ports-mgmt/portconfig: update to 0.4

PR:		266132
Approved by:	bapt (maintainer)
This commit is contained in:
Alfonso S. Siciliano 2022-09-15 02:32:14 +02:00
parent acb37e7cfa
commit 9fb8e9531e
No known key found for this signature in database
GPG Key ID: 3F9EEFACFD371E37
3 changed files with 6 additions and 33 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= portconfig
PORTVERSION= 0.3
PORTVERSION= 0.4
CATEGORIES= ports-mgmt
MAINTAINER= bapt@FreeBSD.org
@ -14,10 +14,10 @@ USES= localbase:ldflags
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_COMMIT= d8863468ba3f5927a6f27180ec18b21724a24fcf
GL_COMMIT= 120109308b3c15a4570e65ea91bfba6426b37193
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1649368024
SHA256 (alfix-portconfig-d8863468ba3f5927a6f27180ec18b21724a24fcf_GL0.tar.gz) = 67d758969e970ffc046d332bb8c817d6c5ae9eefb1aecedb2070312cee067431
SIZE (alfix-portconfig-d8863468ba3f5927a6f27180ec18b21724a24fcf_GL0.tar.gz) = 203339
TIMESTAMP = 1661946735
SHA256 (alfix-portconfig-120109308b3c15a4570e65ea91bfba6426b37193_GL0.tar.gz) = 591f6a36502846c0f5b2f778165268327d8ac4e321f87eb53cb87840f573bedc
SIZE (alfix-portconfig-120109308b3c15a4570e65ea91bfba6426b37193_GL0.tar.gz) = 121236

View File

@ -1,27 +0,0 @@
--- Makefile.orig 2022-04-07 23:53:42 UTC
+++ Makefile
@@ -6,21 +6,16 @@
OUTPUT= portconfig
SOURCES= portconfig.c
OBJECTS= ${SOURCES:.c=.o}
-LIBPATH= ${.CURDIR}/bsddialog/lib
-LIBBSDDIALOG= ${LIBPATH}/libbsddialog.so
-CFLAGS+= -I${LIBPATH} -std=gnu99 -Wall -Wextra
-LDFLAGS+= -Wl,-rpath=${LIBPATH} -L${LIBPATH} -lbsddialog
+CFLAGS+= -std=gnu99 -Wall -Wextra
+LDFLAGS+= -L/usr/lib -Wl,-Bstatic -v -Wl,-whole-archive -lbsddialog -Wl,-no-whole-archive -lformw -lncursesw -ltinfow -Wl,-Bdynamic -Wl,--export-dynamic
RM= rm -f
all : ${OUTPUT}
-${OUTPUT}: ${LIBBSDDIALOG} ${OBJECTS}
+${OUTPUT}: ${OBJECTS}
${CC} ${LDFLAGS} ${OBJECTS} -o ${.PREFIX}
-
-${LIBBSDDIALOG}:
- make -C ${LIBPATH}
.c.o:
${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}