pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/imlib2



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Apr 25 17:23:44 UTC 2020

Modified Files:
        pkgsrc/graphics/imlib2: Makefile

Log Message:
graphics/imlib2: only define SUBST block if necessary


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/graphics/imlib2/Makefile

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

Modified files:

Index: pkgsrc/graphics/imlib2/Makefile
diff -u pkgsrc/graphics/imlib2/Makefile:1.77 pkgsrc/graphics/imlib2/Makefile:1.78
--- pkgsrc/graphics/imlib2/Makefile:1.77        Thu Feb 20 15:14:56 2020
+++ pkgsrc/graphics/imlib2/Makefile     Sat Apr 25 17:23:44 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2020/02/20 15:14:56 nia Exp $
+# $NetBSD: Makefile,v 1.78 2020/04/25 17:23:44 rillig Exp $
 
 DISTNAME=      imlib2-1.6.1
 CATEGORIES=    graphics
@@ -26,11 +26,13 @@ SHLIB_SUFFIX=               sl
 SHLIB_SUFFIX=          so
 .endif
 
+.if ${SHLIB_SUFFIX} != so
 SUBST_CLASSES+=                shlib
 SUBST_STAGE.shlib=     pre-configure
 SUBST_MESSAGE.shlib=   Replacing shared library suffix
 SUBST_FILES.shlib+=    src/lib/image.c
 SUBST_SED.shlib+=      -e 's,"\.so",".${SHLIB_SUFFIX}",'
+.endif
 
 SUBST_CLASSES+=                rpath
 SUBST_STAGE.rpath=     pre-configure



Home | Main Index | Thread Index | Old Index