aboutsummaryrefslogtreecommitdiffstats
path: root/devel/allegro
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-11-24 05:12:59 +0800
committerpat <pat@FreeBSD.org>2002-11-24 05:12:59 +0800
commit873a074e1d87011a9735ffaacbb07d2c22521799 (patch)
treedc9b369b93ae57f53be5e00836781ea11b05eddf /devel/allegro
parent1d080b972898d2e713493f2e51d52a6e7368373f (diff)
downloadfreebsd-ports-gnome-873a074e1d87011a9735ffaacbb07d2c22521799.tar.gz
freebsd-ports-gnome-873a074e1d87011a9735ffaacbb07d2c22521799.tar.zst
freebsd-ports-gnome-873a074e1d87011a9735ffaacbb07d2c22521799.zip
Fix allegro-config --libs to report correct library and bump PORTREVISION.
PR: ports/45176 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'devel/allegro')
-rw-r--r--devel/allegro/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile
index fa2dcf9112cf..fc7430ea8dbe 100644
--- a/devel/allegro/Makefile
+++ b/devel/allegro/Makefile
@@ -7,7 +7,7 @@
PORTNAME= allegro
PORTVERSION= 4.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= alleg
@@ -51,6 +51,8 @@ PLIST_SUB+= FULL=""
post-patch:
@${REINPLACE_CMD} -e \
's|${PORTVERSION}|${SHLIB_VER}|g' ${WRKSRC}/makefile.ver
+ @${REINPLACE_CMD} -e 's|-l[$$]{lib_type}-[$$]{version}|-l\$${lib_type}|' \
+ ${WRKSRC}/misc/allegro-config.in
post-install:
.if !defined(NOPORTDOCS)