summaryrefslogtreecommitdiff
path: root/devel/gdcm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdcm/Makefile')
-rw-r--r--devel/gdcm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index 1ccf6601152c..956fd8d7693c 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -6,6 +6,7 @@
PORTNAME= gdcm
PORTVERSION= ${GDCM_MAJ}.${GDCM_MIN}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
@@ -45,4 +46,7 @@ post-install:
CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=NO
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's| NAMELINK_SKIP||; s| NAMELINK_ONLY||' ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>